Linux-Networking Digest #837, Volume #10 Mon, 12 Apr 99 22:13:52 EDT
Contents:
Re: assigning IP address to jetdirect EX card? (Raymond Lillard)
Re: Network Printer (Linux + MacOS + HP JetDirect) (Keith Keller)
yp map problems with automounter (Kevin Sorrentino)
Re: Netgear ISA EA201c NIC (Allen)
Default umask for ftpd? (Len Philpot)
Re: Win98 PPTP client can't connect through ipmasq, works w/ modem (Luca Filipozzi)
Re: How to ftp/telnet thru linux box (Kelvin Leung)
Linux NFS Server serving Solaris 2.6 ([EMAIL PROTECTED])
Hilfe ([EMAIL PROTECTED])
Re: Apache Server - Can I log where requests are coming from? (Chris J/#6)
socket++ (Erik Paulson)
eth0 hangs ppp... modem/nic conflict? (Chris Leger)
Re: Win98 PPTP client can't connect through ipmasq, works w/ modem ("Steve
Jorgensen")
----------------------------------------------------------------------------
From: Raymond Lillard <[EMAIL PROTECTED]>
Crossposted-To: linux.samba
Subject: Re: assigning IP address to jetdirect EX card?
Date: Mon, 12 Apr 1999 16:52:26 -0700
x wrote:
> I'm in the process of phasing out our NetServer and
> replacing it with a linux box running samba. I've
> got it all working fine -- the only thing that remains
> is the incorporation of the office printer which runs
> off of a JetDirect EX (external) J2382B. From what
> I've read, it should only take an assigning of an IP
> address to that JetDirect card, but I cannot find
> the utility with which to do this.
>
> I've gone to the HP page and linux isn't a supported
> flavour of UNIX, but I'm sure that I'm not the only
> one who has attempted this with this card.
Charlie
I am using the JetDirect 500X, (a 3-port version of the
EX) and RedHat. I found everything I needed on HP's
web site. Go to:
http://www.hp.com/cposupport/eschome.html
and search for "linux". Things should popup for you.
Best,
Ray
------------------------------
From: [EMAIL PROTECTED] (Keith Keller)
Subject: Re: Network Printer (Linux + MacOS + HP JetDirect)
Date: Mon, 12 Apr 1999 19:56:18 GMT
Hi Nick,
It's too bad that your card is giving that much hassle. Might
I recommend, before biting the bullet and purchasing a new
card, try Les' suggestion to try and upgrade the firmware.
It might just be possible, though perhaps difficult, but
it will save you the $$.
If that's not possible, then you should definitely not get
another printer altogether unless you really want to scrap
the 4M. The newer print servers made by HP run about $300
or so, and should support both AppleTalk and TCP/IP. Other
manufacturers make print servers for around $200 that also
support AT and TCP/IP. You could even get an external print
server that you could move around from printer to printer
as you upgrade, if that's important to you.
HTH,
--Keith
[EMAIL PROTECTED]
In article <7esk0s$do9$[EMAIL PROTECTED]>,
Nick B. <[EMAIL PROTECTED]> writes:
> Hi Leslie and everyone,
>
> Let me thank you all for your help and good suggestions, but I think I've
> arrived at the conclusion that there is very little I can do with my current
> hardware. From all of your suggestions, I realized that more recent JetDirect
> cards allow the IP address to be set through the printer control panel. My
> printer does not display a MIO menu, nor is there any way to set the IP via
> any other menu. No Mac software that I have seems capable of setting or even
> displaying to me a standard TCP/IP address.
>
> When I searched the HP web site, I found, of course, 3600 documents
> pertaining to my problem ... actually, I did locate a couple pertinent ones.
> One document, in particular, stated that the JetAdmin program required
> firmware revisions of X.02.nn or X.03.nn. My firmware is A.01.00, so I don't
> expect JetAdmin to work. Another document even stated that telnet support did
> not begin until X.02 revisions. This I take to mean that I will not be able
> to telnet to my card to change any options even if I succeed in determining
> its IP address.
>
> You all were also helpful in explaining that the Appletalk numbers are more or
> less arbitrarily assigned; I take this to mean that I'll most likely never be
> able to convert the 65280 network number into a Linux readable IP address.
>
> In summary, I'm just stuck with old equipment: I can't set the IP address
> through a MIO menu, jetAdmin won't work, and I can't telnet to it. Since I
> require the Mac connection to this printer, I guess I'll have to upgrade the
> JetDirect card. Depending upon the expense of doing so, perhaps the best
> strategy would just be to buy a different printer for the Linux boxes leaving
> the older HP 4M on the Mac.
>
> Thanks for all of your help,
> Nick B.
>
>
>
> In article <7erj7u$1rq5$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Leslie Mikesell) wrote:
>> In article <7eqt6n$17h$[EMAIL PROTECTED]>,
>> Nick B. <[EMAIL PROTECTED]> wrote:
>> >
>> >Thanks for the instructions. Unfortunately, I'm fast coming to the conclusion
>> >that my printer/JetDirect card must be too old. For instance, in my JetDirect
>> >card's manual, nowhere does it discuss how to set the IP address. The
>> >printer's manual also does not discuss this topic.
>> >
>> >When I go through the various menus on the printer's control panel, there is
>> >no option to set an IP address. The only pertinent menu is really the AUX IO
>> >menu, and my only option on this menu is to choose phase 2 ethernet --- no
>> >option for choosing the IP address.
>>
>> The ones I've seen have an MIO menu where the network options are set but
>> perhaps this is a different model. If you have an external box you
>> have to run the Jetadmin program or use bootp to get started.
>>
>> >So, as I said, I'm fast becoming convinced that my hardware is too old to be
>> >able to use these current tools (like the printer's control panel to set the
>> >IP address).
>>
>> If it is that old you will likely have trouble with the lpr emulation
>> if that is that way you plan to send jobs.
>>
>> >It's frustrating, since I find it hard to believe that I can't get Linux to
>> >query the LAN somehow with RARP-like queries and have all NICs respond with
>> >their harware and assigned IP addresses. As you can tell, my inexperience in
>> >networking is showing badly.
>>
>> You should be able to use BOOTP to assign the IP address, subnet mask,
>> and default router. Your linux distribution probably includes a
>> version of the isc dhcpd program that will handle this using a
>> 'hardware address' declaration containing the ethernet address to
>> identify the device. Once the IP address is assigned you can telnet
>> to it to set any other options you need to change.
>>
>> >Thanks for your suggestions and response. I just don't think my hardware is
>> >new enough to be able to use the suggestions.
>>
>> If you have a windows machine on the network you might be able to
>> use the jetadmin program to update the firmware.
>>
>> Les Mikesell
>> [EMAIL PROTECTED]
>>
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Kevin Sorrentino <[EMAIL PROTECTED]>
Subject: yp map problems with automounter
Date: Mon, 12 Apr 1999 19:13:29 -0400
Hello all,
I have a RH 5.2 linux box (linux-2.0.36) on a network with Solaris 2.6
boxes. The linux box is a client and is using the yp maps from my
Solairs 2.6 server.
Users can login to the linux box just fine. However their directories
are not automounted properly.
This is the automount process that comes up by default:
481 ? S 0:00 /usr/sbin/automount /user yp auto.user rw,intr
When I ypcat auto.master I see:
auto_user rw,intr
The map that is called up uses a "." instead of an "_".
I have other maps with "." that work okay. But all the maps that have an
"_" in the map name do not work.
I can kill the automount process and restart it with the proper name but
I would like a more elegant solution.
Any ideas?
Thanks,
Kevin
------------------------------
From: [EMAIL PROTECTED] (Allen)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Netgear ISA EA201c NIC
Date: 13 Apr 1999 01:00:32 GMT
On 11 Apr 1999 21:12:18 -0700, [EMAIL PROTECTED] (J. P.) wrote:
...snip...
>Unfortunatelly I can't test it for a while because after putting in the
>NIC, I could not boot up my PC. Something must have been damaged during
>the operation. I'll have to figure out what.
It still won't boot after taking out the NIC? I guess at that point,
best thing to do is to dump the CMOS memory, and remove all cards or drive
connectors except video card, and start re-booting from there, adding parts one
at a time, 'till you find out which one won't allow you to continue.
Allen
(email addy; user ID portion has a numeral one in place of word
onespoiler, and of course, delete the bogus secondary domain of nospam.)
PC/hardware Guru, and Linux Newbie
------------------------------
From: [EMAIL PROTECTED] (Len Philpot)
Subject: Default umask for ftpd?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Apr 1999 23:27:28 GMT
Is there a way to set a default umask on incoming ftp transfers under
Linux? Under Solaris, for example, you can create /etc/default/ftpd,
include the line 'UMASK=022', and all incoming ftp files will be chmod'd
to 755 (is that right? :). However, I've not seen such a thing mentioned
for Linux, but I feel it must be there somewhere. I'm tired of all the
ftp'd files from my W95 system coming over with full execute rights,
regardless of file type.
Thanks in advance.
------------------------------
From: [EMAIL PROTECTED] (Luca Filipozzi)
Subject: Re: Win98 PPTP client can't connect through ipmasq, works w/ modem
Date: Mon, 12 Apr 1999 18:04:12 -0700
In article <7eu13o$lao$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Thanks, that looks like what I need. Of course, I have been able to avoid
> recompiling the kernel until now, oh well.
>
> Since the default Slackware 2.0.36 Kernel has worked for everything else
> I've done, is there any way to know what settings were used so I can make
> only the minimum required changes to the settings before recompiling?
>
> Luca Filipozzi wrote in message ...
> >In article <7etq0k$hc1$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> >says...
> >> I'm setting up a Linux firewall with demand dialing and ipmasq. I can
> >> access the Internet through the firewall, but I can't connect to a PPTP
> >> server. If I try the same PPTP connection from the same computer over a
> >> direct dial-up to the isp, it works fine.
> >>
> >> Any ideas?
> >>
> >>
> >>
> >Yes... look here
> >ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html
> >--
> >Luca Filipozzi <[EMAIL PROTECTED]>
>
>
>
Don't know. Don't use RedHat. Like Debian better.
--
Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Kelvin Leung)
Subject: Re: How to ftp/telnet thru linux box
Date: Mon, 12 Apr 1999 13:42:48 -0700
Hello,
do you setup ipmasq in your linux box? Take a look at the Linux
Documentation Page (http://sunsite.unc.edu/mdw) and you'll find the
document about the setup. It provide telnet/ftp/internet service for your
client machines through your linux cable modem machine.
Kelvin
In article <[EMAIL PROTECTED]>, Nick Feldhaus
<[EMAIL PROTECTED]> wrote:
> I can ftp/telnet to my linux box, then from there I can telnet thru my
> cable modem to the Internet. However, I need to ftp thru the linux
> server to a remote web host. How do I do it? I get 'connection already
> established.'
>
> I did enable routing, using the ip of the remote web host as the network
> to route to but this did not appear to matter.
>
> Any thoughts?
>
> Nick:)
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux NFS Server serving Solaris 2.6
Date: Mon, 12 Apr 1999 23:27:39 GMT
I need some help. I am trying to set up NFS to be mounted by a system running
Solaris 2.6. I am running NFS2.2beta37 on RedHat 5.2, kernel 2.035, I think.
So, in my initial testing I was able to mount from the nfs share from another
Linux box. So, I was under the impression that I was in the clear. However,
when I had the Solaris client attempt the mount I get the following in my
/var/log/messages:
NFS mount of /sys/oxf/upload attempted by (ipaddr)
/sys/oxf/upload has been mounted by (ipaddr)
Unauthorized access by NFS client (ipaddr)
My /etc/hosts file has all NFS clients defined. My /etc/hosts.allow file has
the NFS clients indicated as follows: ALL: (ipaddr). And my /etc/exports
file has the following /sys/oxf/upload ipaddrofnfsclient(rw)
These were the steps I took to get the Linux box up and running on NFS. I
was told also that Solaris uses NFS version 3 and that may be the
authentication problem. Any ideas? And if what I heard was correct there
should be a command line switch to the Solaris 2.6 mount that will allow a
NFS version 2 mount. What is the switch.
Thanks much.
Patrick Avery
Network Manager
Digital Imaging
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: Hilfe
Date: 12 Apr 1999 20:09:00 +0200
Crossposted-To:
zer.z-netz.alt.linux,alt.os.linux,alt.linux,alt.uu.comp.linux.questions,alt.uu.comp.os.linux.questions,comp.os.linux.help,fido.linux,maus.os.linux,zer.t-netz.linux
Moin,
folgende Situation:
Unter Linux (Kernel 2.2.0) werden drei Partitionen gemounted:
- hda1 dospartition (hda2 ist die root partition) - Pfad: /mount/dos
- sda1 ntfs partition - Pfad: /mount/nt
- sda5 Fat32 partition - Pfad: /mount/fat32
Auf die oben genannten Pfade wird in der smb.conf jeweils eine smb-
freigeabe gesetzt.
Nun kann ich problemlos auf den homebereich und die dospartition �ber
Windowsclienten zugreifen, allerding nicht auf die ntfs und fat32
partitionen. Als root kann ich am linux rechener auf alle gemounteten
dateisysteme zugreifen.
Nun meine Fragen:
1. Wie kann ich auf alle Dateisystem �bers Netz zugreifen ?
2. Wie kann ich die Gruppenrechte bei den Freigaben auf "Users" setzen ?
Es w�re sch�n, wenn mir jemand helfen k�nnte. Falls ich etwas nicht
detailiert genug beschrieben habe, kann ich dies auch gerne noch tun...
MfG Ferris
MfG
## X-No-Archive: Yes ##
------------------------------
From: [EMAIL PROTECTED] (Chris J/#6)
Crossposted-To: comp.os.linux.misc
Subject: Re: Apache Server - Can I log where requests are coming from?
Date: 12 Apr 1999 23:06:59 +0100
Reply-To: [EMAIL PROTECTED]
Umm...the access_log file that Apache creates? It's in a directory with
other useful logs (eg, error_log). Use 'find' to find out where your
access log hides.
CGI can log whatever they want. To see what gets sent by the web server to
the CGI, write a small CGI that looks something like:
#!/bin/sh
echo 'Content-type: text/html'
echo ''
echo '<PRE>'
set
echo '</PRE>'
Any of those environment variables can be logged in whatever way the CGI
wants to log them. HTML can't log (unless its a server parsed page with
some funky stuff in). Nary a clue about Java (script) - I don't use it.
Chris...
In article <[EMAIL PROTECTED]>,
Neil Damms <[EMAIL PROTECTED]> wrote:
>Can anyone tell me how, and if it is possible, to log where in the world
>a request for a page from our Apache Server is coming from?
>
>Also does anyone have a definitive list of what things can be logged by
>Apache / Perl Scripts / HTML / Java Scripts.
>
>Regards,
>
>Brent
>
--
@}-,'-------------------------------------------------- Chris Johnson --,-{@
\ Life is a strange thing. Just when you think \ \
\ you've learned how to use it, it's gone \ [EMAIL PROTECTED] \
\ -- Shakespears Sister \ \
------------------------------
From: Erik Paulson <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++
Subject: socket++
Date: 13 Apr 1999 00:19:01 GMT
Hi,
I'm wondering if anyone knows anything about socket++, a C++ socket
library by Gnanasekaran Swaminathan <[EMAIL PROTECTED]>. It's a really cool
library, and I'm using it in one of my projects.
I want to send the author my patches to make it work - the version I've got
seems to be from a few years ago, when men were men and g++ was much more
forgiving, so just compiling took a little bit of work. However, I'm unable to
find him - email to him at virginia seems to go no where, and hunting for him
on the web turned up nothing either. It seems a few people are still using
this library (or at least trying to) because I found some stuff on dejanews
about it.
Any help you can give me in tracking him down would be much apperciated.
-Erik
------------------------------
From: Chris Leger <[EMAIL PROTECTED]>
Subject: eth0 hangs ppp... modem/nic conflict?
Date: Mon, 12 Apr 1999 20:11:44 -0400
This is a multi-part message in MIME format.
==============EA3136CB7C526844B1D12160
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
After about 20-30 hours on this one, I guess it's time to ask. Hope
someone can help...
I seem to have a conflict between my modem and nic. Modem is USR 56K
internal, nic is 3com 3c509. Here are some particulars:
eth0
IP 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
modem at 03e8, IRQ 4, cua2(/dev/modem)
Assume I'm using "netcfg" for the following:
I can dial out and get ppp just fine (activate ppp0), but I get no data
through the modem if I activate eth0. That is, I can dial out, and start
pinging some external IP. Works fine until I activate eth0, then the
ping halts... until I deactivate eth0, then the ping resumes again, with
the first packet delayed by hundreds/thousands of millisecs, then back
to normal.
With eth0 activated, I can ping my nic (192.168.1.1) or loopback
(127.0.0.1) or other machines on my internal lan (192.168.1.10, .20,
etc.) and they can ping me. But when trying to telnet to this machine,
the telnet window (in windows) just stays blank... UNTIL I deactivate
eth0, at which point the telnet session disconnects (at the windows
machine) with the login prompt suddenly displayed.
Essentially, I cannot use my LAN except to ping the other machines as
far as I can tell. I should say that I did have the ethernet card
working at one point, though I can't retrace back to that config. I
should also point out that both the modem and nic are "known good'
cards, both work fine under NT (dual booting by necessity for graphics
apps)
Here's some pertinent (I hope) info:
[cleger@columbia /home/cleger]> more /proc/interrupts
0: 5930262 timer
1: 7960 keyboard
2: 0 cascade
4: 650658 + serial
7: 6 3c509
8: 1 + rtc
12: 188664 PS/2 Mouse
13: 1 math error
14: 83578 + ide0
15: 1156 + ide1
[cleger@columbia /home/cleger]> more /etc/hosts
127.0.0.1 localhost
192.168.1.1 columbia
[cleger@columbia /home/cleger]> ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:206.111.17.20 P-t-P:199.0.615.224
Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:2827 errors:0 dropped:0 overruns:0 frame:0
TX packets:3185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:33ea038-33eac04
eth0 Link encap:Ethernet HWaddr 00:A0:24:0A:37:32
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:7 Base address:0x330
[cleger@columbia /home/cleger]> more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=columbia
DOMAINNAME=
GATEWAY=192.168.1.254
GATEWAYDEV=eth0
###This one is for IP forwarding... just figured I'd include it here,
###since I won't know if it works until I get the ethernet working...
[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh
# Enable Networking
#
# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia
# Setup routing for the local network
/sbin/route add -host columbia dev eth0
/sbin/route add -net 192.168.1.0 gw columbia
# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh
# Enable Networking
#
# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia
# Setup routing for the local network
/sbin/route add -host 192.168.1.1 dev eth0
/sbin/route add -net 192.168.1.0 gw columbia
# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
If anyone can help, my whole family would be very grateful to get me to
come out of the office ;^)
I'll be happy to add any additional info I may have left out.
Thanks in advance,
Chris Leger
[EMAIL PROTECTED]
==============EA3136CB7C526844B1D12160
Content-Type: text/plain; charset=us-ascii; name="ether"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ether"
Hi,
After about 20-30 hours on this one, I guess it's time to ask. Hope someone can help...
I seem to have a conflict between my modem and nic. Modem is USR 56K internal, nic is
3com 3c509. Here are some particulars:
eth0
IP 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
modem at 03e8, IRQ 4, cua2(/dev/modem)
Assume I'm using "netcfg" for the following:
I can dial out and get ppp just fine (activate ppp0), but I get no data through the
modem if I activate eth0. That is, I can dial out, and start pinging some external IP.
Works fine until I activate eth0, then the ping halts... until I deactivate eth0, then
the ping resumes again, with the first packet delayed by hundreds/thousands of
millisecs, then back to normal.
With eth0 activated, I can ping my nic (192.168.1.1) or loopback (127.0.0.1) or other
machines on my internal lan (192.168.1.10, .20, etc.) and they can ping me. But when
trying to telnet to this machine, the telnet window (in windows) just stays blank...
UNTIL I deactivate eth0, at which point the telnet session disconnects (at the windows
machine) with the login prompt suddenly displayed.
Essentially, I cannot use my LAN except to ping the other machines as far as I can
tell. I should say that I did have the ethernet card working at one point, though I
can't retrace back to that config. I should also point out that both the modem and nic
are "known good' cards, both work fine under NT (dual booting by necessity for
graphics apps)
Here's some pertinent (I hope) info:
[cleger@columbia /home/cleger]> more /proc/interrupts
0: 5930262 timer
1: 7960 keyboard
2: 0 cascade
4: 650658 + serial
7: 6 3c509
8: 1 + rtc
12: 188664 PS/2 Mouse
13: 1 math error
14: 83578 + ide0
15: 1156 + ide1
[cleger@columbia /home/cleger]> more /etc/hosts
127.0.0.1 localhost
192.168.1.1 columbia
[cleger@columbia /home/cleger]> ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:206.111.17.20 P-t-P:199.0.615.224 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:2827 errors:0 dropped:0 overruns:0 frame:0
TX packets:3185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:33ea038-33eac04
eth0 Link encap:Ethernet HWaddr 00:A0:24:0A:37:32
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:7 Base address:0x330
[cleger@columbia /home/cleger]> more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=columbia
DOMAINNAME=
GATEWAY=192.168.1.254
GATEWAYDEV=eth0
###This one is for IP forwarding... just figured I'd include it here, since I won't
know if it works until I get the ethernet working...
[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh
# Enable Networking
#
# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia
# Setup routing for the local network
/sbin/route add -host columbia dev eth0
/sbin/route add -net 192.168.1.0 gw columbia
# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
[cleger@columbia /etc/rc.d]> more rc.net1
#!/bin/sh
# Enable Networking
#
# Start IP Masquerading modules
/sbin/depmod -a 1>/dev/null 2>/dev/null
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
# Start IP Aliasing for talking to internal network
/sbin/ifconfig eth0 columbia
# Setup routing for the local network
/sbin/route add -host 192.168.1.1 dev eth0
/sbin/route add -net 192.168.1.0 gw columbia
# Start IP Masquerading
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
If anyone can help, my whole family would be very grateful to get me to come out of
the office ;^)
I'll be happy to add any additional info I may have left out.
Thanks in advance,
Chris Leger
[EMAIL PROTECTED]
==============EA3136CB7C526844B1D12160==
------------------------------
From: "Steve Jorgensen" <[EMAIL PROTECTED]>
Subject: Re: Win98 PPTP client can't connect through ipmasq, works w/ modem
Date: Mon, 12 Apr 1999 18:42:06 -0700
Debian was the first one I tried, and I might go back to it later when I'm
more experienced. With Debian, it's too hard for a beginner to know what to
install, and the distribution is huge. I agree about Red Hat, I got way
farther way faster with Slackware.
Luca Filipozzi wrote in message ...
>In article <7eu13o$lao$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>says...
>> Thanks, that looks like what I need. Of course, I have been able to
avoid
>> recompiling the kernel until now, oh well.
>>
>> Since the default Slackware 2.0.36 Kernel has worked for everything else
>> I've done, is there any way to know what settings were used so I can make
>> only the minimum required changes to the settings before recompiling?
>>
>> Luca Filipozzi wrote in message ...
>> >In article <7etq0k$hc1$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>> >says...
>> >> I'm setting up a Linux firewall with demand dialing and ipmasq. I can
>> >> access the Internet through the firewall, but I can't connect to a
PPTP
>> >> server. If I try the same PPTP connection from the same computer over
a
>> >> direct dial-up to the isp, it works fine.
>> >>
>> >> Any ideas?
>> >>
>> >>
>> >>
>> >Yes... look here
>> >ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html
>> >--
>> >Luca Filipozzi <[EMAIL PROTECTED]>
>>
>>
>>
>Don't know. Don't use RedHat. Like Debian better.
>--
>Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************