Linux-Networking Digest #666, Volume #10 Mon, 29 Mar 99 04:13:50 EST
Contents:
Re: problem with d-link 530TX NIC (Rod Smith)
Re: 10BaseT > 100m, cable??? (glen herrmannsfeldt)
Allocating ipfwadm bandwidth (wre)
Re: Using Linux instead of NT Server in home environment.... ("Alexander I. Butenko")
Radius server timeout (Steve Vertigan)
Internal Network can't browse the internal Web Server!!!! ("Super Net News")
Re: Linux, DHCP, and cable modems... ("Michael S.")
Re: Using Linux instead of NT Server in home environment.... (David M. Cook)
Help, I'm using win98. I cant hold on much longer! (Chris)
Re: ne2000 hangs when loading sendmail (Frederik Heber)
Re: PPP with ATT Worldnet (Dave Krieps)
Automatic start Two Ethernet Card at boot time ???? ("James Kei")
Changing domain name ("Carl Filpo")
Re: Different IP in one network (Jack Cheng)
Re: am-utils (amd) & smbfs (smbmount) -- automount frustation
([EMAIL PROTECTED])
2.2 kernel locked by autofw??? (Damon des Jumeaux)
Re: IP Forwarding Problem, HELP !!! (Ng Wai Wing)
Another Newbie Lost In Networking Space ("Robert Cutchins")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: problem with d-link 530TX NIC
Date: 28 Mar 1999 16:56:06 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
>
> hI..
> I have tried to recomplie the kernel for my d-link 530TX card using
> DEC Tulip but still it couldn't recognise it. What should be the
> correct method?
The D-Link 530TX, IIRC, does *NOT* use a Tulip chipset; it uses a VIA
Rhine chipset. Choose that driver instead and try again.
--
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
------------------------------
From: [EMAIL PROTECTED] (glen herrmannsfeldt)
Crossposted-To: alt.comp.hardware,alt.computer.hardware,comp.dcom.lans.ethernet
Subject: Re: 10BaseT > 100m, cable???
Date: 29 Mar 1999 02:58:03 GMT
"Eugene" <[EMAIL PROTECTED]> writes:
>yeah, you need a repeater if you want the cable to be > 100m -- the signal
>gets too weak. Coaxial cable has a limit of 175m, you might want to give
>that a try.
Ahhhhhhhhhhhhhhhh......
10baseT will run at least 150m through cat5 cable, 100m through cat3.
100baseTX (not what was asked) will only run 100m though cat5.
10base5 will run 500m through thick ethernet cable.
Fiber will get you to about 2000m without a repeater.
-- glen
------------------------------
From: wre <[EMAIL PROTECTED]>
Subject: Allocating ipfwadm bandwidth
Date: Sun, 28 Mar 1999 21:12:26 -0600
is there a (simple) way to allocate priority/bandwidth that clients on a
lan get connecting to the net via a linux box running ipfwadm ?
Werner
------------------------------
From: "Alexander I. Butenko" <[EMAIL PROTECTED]>
Subject: Re: Using Linux instead of NT Server in home environment....
Date: Mon, 29 Mar 1999 08:27:40 +0300
Crossposted-To:
microsoft.public.windowsnt.misc,microsoft.public.windowsnt.setup,comp.os.linux.misc,comp.os.linux.setup,micorosft.public.outlook
Johan Kullstam <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Alexander I. Butenko" <[EMAIL PROTECTED]> writes:
>
> > Well,, I'd beter think that there is a Server for the client, not
> > vice-versa.
>
> *boggle* what exactly are you trying to say? this sentence doesn't
> make any sense to me.
I mean that we can't say that we should cnsider the Server the main thing in
the net, the main thing is the client and its needs. If our Server fulfills
our client needs - it's good, if not - no.
>
> > And one more - the question was about the OS for the home. MOst
> > hom eusers can't even properly configure Win98, so the most correct
answer
> > about the Server was not linux but WIndows NT.
>
> but if you can't do win98, wtf are you doing with nt server? windows
> nt is kind of like windows 98. they are different enought that once
> you get under the skin lot of stuff is different so that a competent
> win98 user may get lost. they are alike enough that someone who can't
> do win98 won't be able do windows nt.
I meanthat most home users are like this. And it'll be anyway easier for
them to configure NT than Linux.
>
> so they can't configure win98 properly. i readily admit, *i* can't
> configure win98 (more truthfully, i can't abide by it but i digress).
> i, however, *can* do linux!
>
> > Anyway I do not wasn to continue this flame as most of this group
> > members seem to gain nothing from it.
>
> perhaps that is because they cannot/will not change their minds no
> matter what.
Yes, I doubt anybody will change its mind.
>
> --
> J o h a n K u l l s t a m
> [[EMAIL PROTECTED]]
> Don't Fear the Penguin!
--
Please reply only to the newsgroup!
Best Regards,
Alexander I. Butenko
Microsoft Certified Professional
Microsoft Developer Network Certified Member
------------------------------
From: [EMAIL PROTECTED] (Steve Vertigan)
Subject: Radius server timeout
Date: Mon, 29 Mar 1999 07:04:09 GMT
Hi. I'm not sure if this is the most appropiate forum to ask this but it's
the closest thing I can find. I'm trying to use pam (rhat 5.2) to
authenticate against a radius server running on NT. The module appears to
be set up correctly but no data is getting sent to the radius server, this
is what I have in the logs...
Mar 29 13:05:15 home in.ftpd[7429]: connect from 203.38.46.141
Mar 29 13:05:16 home pam_lradius[7429]: reading settings from
'/etc/pam.d/leemah/pam_lradius.conf'
Mar 29 13:05:16 home pam_lradius[7429]: find server entry
our.server.net.au:1812 5 2
Mar 29 13:05:16 home pam_lradius[7429]: sent packet (51 bytes) to
our.server.net.au:1812 server
Mar 29 13:05:16 home pam_lradius[7429]: ICPM unreachable message received
I know the radius servers functioning because a dial-in server running
portslave is talking to it. I'm pretty sure 1812 is the right port, I did a
udp portscan and that's the one that came up. I can also successfully ping
the NT machine from this one. I don't know much about the NT radius server
but the NT administrator ran it in a special debug mode that apparently
shows *any* data it recieves and it showed nothing in the middle of an
attempted connection. Which leads me to believe that the linux box is just
not sending the packets for some reason. Strange because, as said, I can
ping ok.
Any ideas? There are no firewall rules on the NT box and AFAIK the radius
server has been configured to accept requests from this linux box. Even it
it wasn't I would expect to see a rejected notification rather than
timeouts.
Thanks,
--Steve
------------------------------
From: "Super Net News" <[EMAIL PROTECTED]>
Subject: Internal Network can't browse the internal Web Server!!!!
Date: Mon, 29 Mar 1999 15:13:29 +0800
Hi,
The external IP of the firewall is 202.64.xx.yy.
The internal IP of the firewall is 10.0.0.1.
I have set up my internal network with IPs 10.0.0.*.
I have my web and ftp servers in 10.0.0.192 with the aid of ipportfw which
forward all incoming web and ftp request to 10.0.0.192.
Yes. It works if the connection is made from the internet to my web site
and from internal network to the web sites in internet.
i.e. People from the internet can browse my website and
and people within the internal network can browse the internet.
HOWEVER, the internal network can browse the "internal web site"!!!
Why!!!!! Please help.
Martin
------------------------------
From: "Michael S." <[EMAIL PROTECTED]>
Subject: Re: Linux, DHCP, and cable modems...
Date: Mon, 29 Mar 1999 05:54:22 GMT
I was wondering if anyone could tell where the file that calls the dhcpcd
daemon is located at so I can add the -h switch along with my host name.
Peck R. Wood wrote in message <[EMAIL PROTECTED]>...
>
>
>John Mellor wrote:
>>
>> What version of dhcpcd are you using? Most @Home host networks require
>> that you announce your assigned machine name to them before you get a
>> response.
>>
>> This capability was added to dhcpcd-0.70, with the addition of the
>> undocumented -h parameter. Add it to the call, followed by your
>> assigned machine name. Without it the dhcp query will time out.
>
>Should I be using dhcpcd-0.70? I'm running slackware with the 2.0.36
>kernel and dhcpcd-1.3.17. It doesn't work giving the error:
>
> dhcpStart: socket: Invalid argument.
>
>The docs say the kernel should be compiled with SOCK_PACKET. I can't
>find any option for SOCK_PACKET anywhere. If dhcpcd-1.3.17 is only for
>later kernels, where do I find dhcpcd-0.70? The site I got the other
>version from didn't have it. Once I get it working I can play with
>upgrading my kernel and such.
>
>
>>
>> In article <[EMAIL PROTECTED]>,
>> [EMAIL PROTECTED] (Doug O'Leary) writes:
>> |> I'm having some problems getting dhcp to work with a cable modem.
>> |> The particulars are: Redhat Linux ver 5.1 (2.0.34), Mediaone
>> |> cable with a cable modem called CyberSurfer Wave.
>> |>
>> |> I originally started out at Linux kernel 2.0.34; and, in the process
>> |> of troubleshooting this ugliness upgraded to kernel 2.0.36.
>> |>
>> |> I have a 3c509b that seems to work using the 3c509 device driver;
>> |> I've been able to configure an IP address into it and ping myself.
>> |>
>> |> DHCP seems to be causing some problems, however. When booting, DHCP
>> |> times out even though I have a link light on the cable modem from
>> |> the 10baseT card in my PC. While the link light is on, the command
>> |> "ifconfig eth0" looks like:
>> |>
>> |> eth0 Link encap:Ethernet HWaddr 00:10:4B:03:04:D0
>> |> inet addr:0.0.0.0 Bcast:255.255.255.255 Mask:0.0.0.0
>> |> UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
>> |> RX packets:0 errors:0 dropped:0 overruns:0
>> |> TX packets:24 errors:0 dropped:0 overruns:0
>> |> Interrupt:10 Base address:0x300
>> |>
>> |> After a set amount of time, the link light will go out, and
>> |> the output from ifconfig looks like:
>> |>
>> |> eth0 Link encap:Ethernet HWaddr 00:10:4B:03:04:D0
>> |> inet addr:0.0.0.0 P-t-P:0.0.0.0 Mask:0.0.0.0
>> |> BROADCAST DEBUG LOOPBACK POINTOPOINT NOTRAILERS NOARP
PROMISC
>> |> ALLMULTI SLAVE MASTER MULTICAST MTU:1500 Metric:1
>> |> RX packets:0 errors:0 dropped:0 overruns:0
>> |> TX packets:19 errors:0 dropped:0 overruns:0
>> |> Interrupt:10 Base address:0x300
>> |>
>> |> I know the card and (a variant of) dhcp works because I can get
>> |> on the net with no problems from win95; Linux, though, is causing
>> |> me some headaches.
>> |>
>> |> Any hints on where I should look next?
>> --
>> John Mellor Kitchener, Ontario, Canada
http://www.kitchener.com/mellor/
>> [EMAIL PROTECTED] http://www.mellor.kw.net/
>> [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David M. Cook)
Crossposted-To:
microsoft.public.windowsnt.misc,microsoft.public.windowsnt.setup,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Using Linux instead of NT Server in home environment....
Date: Mon, 29 Mar 1999 07:18:18 GMT
On Sun, 28 Mar 1999 17:45:14 +0100, Robert Moir [MVP]
<[EMAIL PROTECTED]> wrote:
>As for stability, well Linux is not the worlds most mature product, and its
Linux is as mature as NT, and it's greater stability has been demonstrated.
Linux needs to be rebooted only for hardware or kernel upgrades, not for
network changes or software installation. It doesn't have the vulnerability
to viruses that NT seems to have. NT also requires at least a workstation
class machine whereas an old 386 or 486 is fine for a Linux gateway or
firewall. Linux is also easy to administer remotely. For more info see:
http://pel.cs.byu.edu/~alen/computers/Linux/WhyLinux/
http://metalab.unc.edu/linux/HOWTO/Networking-Overview-HOWTO.html
Dave Cook
------------------------------
From: Chris <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Help, I'm using win98. I cant hold on much longer!
Date: Sun, 28 Mar 1999 23:18:18 -0800
Hi,
I'm an avid Linux user. I swear by it. I have several machines all with
Redhat 5.2
Been using Linux exclusively for 3 years so I'm not a newbie
Up until today, all was roses.
I am connectiong from 3 other Linux machines to the internet through one
machine with a ppp connection and ip masquerading. Kernel 2.2.2 with
moderately secure firewall using ipchains. I use diald for the
connecting.
This setup has worked wonderfully for some time until this afternoon.
Suddenly, whenever the machine dials in, it just cant connect. I have
made no changes in anything in the last few days.
Fortunately, I've never had any problems connecting, but unfortunately,
this also means I have never run into this problem before.
I do know that my ISP has been making changes this weekend, but I can
connect with no problem from my wifes windows machine. (It hurt me to
say that as much as it hurts me when I see others post it)
pppd says the recieve serial connection is not 8 bits clean and that bit
7 is set to 0
here's the exact output
Mar 28 22:41:39 chunks diald[357]: Running connect (pid = 451).
Mar 28 22:42:12 chunks diald[357]: Running pppd (pid = 452).
Mar 28 22:42:12 chunks pppd[452]: pppd 2.3.5 started by root, uid 0
Mar 28 22:42:12 chunks pppd[452]: Using interface ppp0
Mar 28 22:42:12 chunks pppd[452]: Connect: ppp0 <--> /dev/ttyS1
Mar 28 22:42:42 chunks pppd[452]: LCP: timeout sending Config-Requests
Mar 28 22:42:42 chunks pppd[452]: Connection terminated.
Mar 28 22:42:42 chunks pppd[452]: Receive serial link is not 8-bit
clean:
Mar 28 22:42:42 chunks pppd[452]: Problem: all had bit 7 set to 0
Mar 28 22:42:42 chunks pppd[452]: Hangup (SIGHUP)
Mar 28 22:42:42 chunks pppd[452]: Exit.
I hate to say it but I'm running windows right now to get on line.
May god have mercy on my soul.
Perhaps someone has seen a similar problem before?
As I stated in the subject line, I'm using windows.
Windows is a bite in my ass. (fortunately, I only need it to get this
plea for help out on to the group)
Can anyone rescue me from the clutches of this retarded OS?
Thanks
Chris
PS please CC to my e-mail address
[EMAIL PROTECTED]
------------------------------
From: Frederik Heber <[EMAIL PROTECTED]>
Subject: Re: ne2000 hangs when loading sendmail
Date: Mon, 29 Mar 1999 09:10:27 +0200
Jim Roberts wrote:
> > ... and now comes the stupid part. Briefly after, when loading up the
> > daemons, syslogd needs unusually long to load and at sendmail it hangs
> > completely. Thereafter I can reboot the machine with a
> > three-finger-salute (so it does not really hang ...) ... what can i do ?
> >
> > I tried fiddling around with the dos setup, jumperless and io bases and
> > IRQs, nothing. I tried to give LILO (I use Lilo to boot btw ;) an ether
> > parameter and even a reverse parameter, if the card is probesensitive
> > and sendmail is fumbling around with the network or whatever, yet to no
> > avail. The card is still probed (MAC is shown and the usual prinout) and
> > hangs when loading sendmail.
> > System:
> > ABUS P54T2P4 with 32MB EDO and a P166MMX
> > and the dratted E2000Cplus
> > LINUX 2.0.33 kernel with network, TCP/IP on etc. (btw: the 2.0.27 has
> > even more problems recognizing the card, at least its does not detect it
> > when in PnP-mode, in contrast to 2.0.33 that does)
> Sendmail is not hanging! It is trying to resolve your computers hostname.
> If you wait about 300 seconds, it will time out. Or you could setup your
> hosts file with your FQD and IP.
Hmm, but I've set the hostname, in whatever file that was to be done
again, and it's also being reported at startup and visible via dmesg !
So why should that be the problem ? Is he trying to resolve the hostname
elsewhere, since the network card is working then ? And why is syslogd
also slowed down ?
And now ... what the heck is FQD ? And how do I tell sendmail not to
resolve my hostname ... or whatever else should I do to solve my problem
?
Thanks in advance ... Frederik Heber
--
My life's tale told differently -
http://www.geocities.com/Athens/Parthenon/6794/
------------------------------
From: Dave Krieps <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.ppp
Subject: Re: PPP with ATT Worldnet
Date: Sun, 28 Mar 1999 23:11:01 -0500
BabylonGod wrote:
>
> Has anyone setup a PPP connection under RedHat 5,2 for connecting to ATT
> Worldnet? Thanks for any help.
>
> -Peter
Yes! Took me about two months of fooling around to get it right too.
Well all that time wasn't spent on PPP, but just getting to know how
things are supposed to work in general.<g>
I used the page that Mark posted, along with the PPP-howto.
BTW, I did have some problems with the script on the WURD page. I'm
not sure exactly what the problem was, but I solved it by manually
configuring the resolv.conf file, and getting rid of the parts of the
script that writes it.
Now, if only I could get rid of this problem Netscape has with hanging
sometimes. Then there's that problem with not being able to startx
without rebooting after it ran once...
Some fun! :)
------------------------------
From: "James Kei" <[EMAIL PROTECTED]>
Subject: Automatic start Two Ethernet Card at boot time ????
Date: Mon, 29 Mar 1999 15:22:39 +0800
My Redhat 5.1 kernel find two ethernet card. But the configuration script
only set eth0. So I have to manuel set the second by "ifconfig" command. How
can set the second eth1 to be automatic start when the machine reboot???
Please help??
James Kei
[EMAIL PROTECTED]
------------------------------
From: "Carl Filpo" <[EMAIL PROTECTED]>
Subject: Changing domain name
Date: Mon, 29 Mar 1999 15:29:19 +0800
I am running SLINK 2.1 and set up a PC with a domain. I have now been given
a
different domain name by my ISP as the one i set up with has already been
taken.
How do I tell the system of my new domain name ?
Which files must I edit ? I tried changing resolv.conf and then rebooted
but that didn't do it.
------------------------------
From: Jack Cheng <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,hk.comp.os.linux
Subject: Re: Different IP in one network
Date: Mon, 29 Mar 1999 12:45:12 +0800
Lew Pitcher �g�D�G
> Jack Cheng wrote:
> >
> > Hello,
> >
> > I have a network system using RH5.2 and running fine. The IP is 192.168.16.1
> >
> > Because I want ot learn more about linux, so I hooked up one more linux box
> > in my existing lan (of course running as a SERVER and IP is 192.168.18.1),
> > so i can change anything in the new linux box for my testing.
> >
> > I cannot ping the 192.168.16.1 from the new linux box (192.168.18.1), is
> > possible set two different IP in one lan system?
> >
> > Best Regard
> > Jack Cheng
>
> If you have defined your 'subnet mask' to be more than 16bits (i.e.
> 255.255.0.0),
> you'll have to stick a router between the two Linux boxes. You see, they
> look to
> be on different subnets, and would ignore each other if they were.
>
> Rather than add more hardware to your lan, either
> a) change the IP address on the new Linux box to a 192.168.16.x address
> (like your first Linux box has), or
> b) change the subnet masks on *both* Linux boxes to be 255.255.0.0
> (in order to put both machines on the same subnet).
>
> Of course, option (b) above may have detrimental effects on your
> existing LAN.
>
> --
>
> Lew Pitcher | If everyone has an angle, why
> JOAT-in-training | are most of them so obtuse?
Yes,
When I set to 255.255.0.0, both Linux boxes can talk to each other but it mess up
my existing network, that's I don't want to see.
And now I add a network card in the first Linux box and set an IP to
192.168.18.254, netmask 255.255.255.0, and it seems to be fine now. (trying hard
to learn how to use the ROUTED)
Regard
Jack Cheng
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: am-utils (amd) & smbfs (smbmount) -- automount frustation
Date: Mon, 29 Mar 1999 08:19:30 GMT
On Sun, 28 Mar 1999 14:46:00 GMT, "Steven R. Levitt" <[EMAIL PROTECTED]>
wrote:
>I have had absolutely no luck getting Linux to automount any of my WinNT
>(SP4) shares. I have no problem mounting these volumes manually via
>smbmount, but, I would prefer not be burdened with this task every time I
>bootup.
>
> RedHat 5.1 distribution:
> kernel-2.0.34-0.6
> smbfs-2.0.1-4
> am-utils-6.0a16-4
>
> and, for what its worth:
> samba-1.9.18p10-5
> portmap-4.0-11
> nfs-server-2.2beta29-5 & nfs-server-2.2beta29-5 (installed, not
>active)
> autofs-3.1.1-4 (installed, not active)
>
>I've read through the Am-utils (4.4BSD Automounter Utilities) user manual at
>http://www.cs.columbia.edu/~ezk/am-utils/am-utils_toc.html about 129 times.
>But, due either to a huge mental block, or, utter stupidity on my part, I
>just can't seem to get the hang of it! Everything I've tried, so far, had
>been greeted with error upon error. So now, nearing the end of my rope,
>I'm asking for your collective wisdom on this matter.
>
>Could anyone help me understand the user manual in terms of what I wish to
>accomplish? Or, better yet, provide me with a sample of a working
>configuration I could base mine upon?
>
>
I ignore all about Samba stuff. Are you sure you need autofs to mount
them ? Can't you just add a few lines for them in your /etc/fstab
file?
Anyway I work with autofs (very easy to configure) with a 2.2.4 kernel
(autofs support is valid since 2.0.3x kernels but for these it is jus
experimental).
My /etc/auto.master file :
/mnt /etc/auto.removable --timeout 3
It indicates autofs that it has to listen every action on the /mnt
directory, that the file containing the mount descriptio is in
/etc/auto.removable, and that it can automatically unmount the fs
after 3 second of inactivity (it allows you to change the cdrom or
your floppy).
And my /etc/auto.removable file:
cdrom -fstype=iso9660,ro :/dev/cdrom
fd0 -fstype=auto :/dev/fd0
It indicates to mount the local /dev/cdrom when someone accesse the
/mnt/cdrom directory (the other option are the same than mount's).
Something important : RH is configured for amd by default. To
configure autofs you have to change all occurences of the K08autofs
for S72autofs, and S72amd to K08amd in the /etc/rc.d/rc{3,4,5}.d
directories.
Manu
------------------------------
From: Damon des Jumeaux <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: 2.2 kernel locked by autofw???
Date: 29 Mar 1999 08:19:25 GMT
Hi there. I recently upgraded to kernel 2.2.3 (with patches patch-2.2.3-ac4
and ip_masq-v0.25-for_2.2.3) relatively smoothly, and everything appeared
to be working. Until today, when i tried to run Starcraft from the windows
box which is masqueraded through the linux machine. The linux box locked up
completely. I've never seen that before, except one time when i did
something abysmally stupid upgrading to glibc2. :)
Now i'm using 2.0.36 again with no problems.
Here's the code i use to set up the autofw Starcraft's battle.net stuff
needs in order to run, under 2.2:
/usr/sbin/ipmasqadm autofw -A -r tcp 6112 6112 -h 192.168.1.255
/usr/sbin/ipmasqadm autofw -A -r udp 6112 6112 -h 192.168.1.255
again, under 2.0.36 the equivalent ipautofw stuff works fine; under 2.2.3-ac4
with ipmasqadm the above locks the machine solid (can't telnet in, no disk
activity, magic sysreq doesn't work).
here are some version numbers:
ipchains-1.3.8
ipmasqadm-0.4.2
dhcpcd-1.3.17-pl2
net-tools-1.51
and the full rc script that gets run when the dhcpcd connexion is up:
# BEGIN rc.dhcp script
KV=`/bin/uname -r | /bin/cut -c -3`
ODINIP=`/sbin/ifconfig eth1 | sed -n -e '/inet addr:/{s/^.*inet addr://;s/ .*//;
p;}'`
if [ "$KV" = "2.0" ]; then
# Reset hostname and domainname...
hostname odin
domainname jumeaux.bc.ca
fi
# ip accounting
if [ "$KV" = "2.2" ]; then
/sbin/ipchains -A input -d $ODINIP
/sbin/ipchains -A output -s $ODINIP
else
ipfwadm -A -a -P all -S $ODINIP/32 -D 0.0.0.0/0
ipfwadm -A -a -P all -S 0.0.0.0/0 -D $ODINIP/32
fi
# IP masquerading setup
if [ "$KV" = "2.2" ]; then
ipchains -P forward DENY
ipchains -A forward -j DENY -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 137:139
ipchains -A forward -j DENY -p udp -s 0.0.0.0/0 -d 0.0.0.0/0 137:139
ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0
else
ipfwadm -F -p deny
ipfwadm -F -a deny -b -P tcp -S 0.0.0.0/0 -D 0.0.0.0/0 137 138 139
ipfwadm -F -a deny -b -P udp -S 0.0.0.0/0 -D 0.0.0.0/0 137 138 139
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
fi
# Starcraft
if [ "$KV" = "2.2" ]; then
/usr/sbin/ipmasqadm autofw -A -r tcp 6112 6112 -h 192.168.1.255
/usr/sbin/ipmasqadm autofw -A -r udp 6112 6112 -h 192.168.1.255
else
/usr/local/sbin/ipautofw -A -r tcp 6112 6112 -h 192.168.1.255
/usr/local/sbin/ipautofw -A -r udp 6112 6112 -h 192.168.1.255
fi
# icq
/etc/rc.d/rc.icq $KV $ODINIP # (this just sets up some other ipmasq stuff
# that seems to work fine...)
if [ "$KV" = "2.2" ]; then
echo 1 >/proc/sys/net/ipv4/ip_forward
fi
# END rc.dhcp script
any suggestions? if you need any further info, please let me know. also,
is there somewhere else besides these newsgroups i might want to ask this?
please email me directly at [EMAIL PROTECTED] if possible, thanks.
PS - any pointers to where i can find out just which net-pf-X is which
protocol? i get a lot more of those annoying messages now (i'd aliased
some off before) booting under 2.0 now that i've recompiled the net-tools...
--
Damon Harper des Jumeaux _/\_ "Then you'll excuse me...
[EMAIL PROTECTED] __\ /__ I'm in the middle of fifteen
Les Jums: [EMAIL PROTECTED] \ / things, all of them annoying."
http://www.jumeaux.bc.ca/damon/ |/||\| - Commander Susan Ivanova, B5
------------------------------
From: [EMAIL PROTECTED] (Ng Wai Wing)
Subject: Re: IP Forwarding Problem, HELP !!!
Date: 23 Mar 1999 09:23:47 GMT
David Ashley ([EMAIL PROTECTED]) wrote:
: In article <7cnk3q$mbe$[EMAIL PROTECTED]>,
: ��d�W <[EMAIL PROTECTED]> wrote:
: >I want to let my CWin98 client connect to internet through Linux Box.
: >So, I set the gateway of the CWin98 client as eth1(192.168.0.1).
: >
: >"IPv4 forward" is enabled in the Linux Box.
: On the linux box make sure ipfwadm is installed, and add the following
: line to your /etc/rc.d/rc.local file:
: /sbin/ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
: Or just do that as root to test it without rebooting.
: --
: Email address munged to prevent spamming.
------------------------------
From: "Robert Cutchins" <[EMAIL PROTECTED]>
Subject: Another Newbie Lost In Networking Space
Date: Sun, 28 Mar 1999 23:45:53 -0500
Before I get banished to the 'man' pages, I wanted to ask a question (simple
to most of you, I'm sure).
I have one Linux machine (running RedHat 5.2) and a Windows 98 machine. The
Win98 machine has most of the bells and whistles, but I would really like to
get more acquainted (and more comfortable) with the Linux machine (use UNIX
at work). I was able to set up a peer-to-peer network with both machines
running Win9X with very little sweat, but trying to network the Linux and
Win98 machines has proven quite the challenge.
I have been able to get the following to happen:
* I can dial into the Win98 machine (from the Linux box), connect and
actually ping the "Win machine". I can use Netscape to browse the folders
I've set up to share on the Win98 machine (running Personal Web Server). I
have even transferred a file or two using Navigator.
The above mentioned is surely not the 'preferred' setup, and after reading
the "HowTo" on Samba, I'm convinced this is quite the undertaking. I will be
connecting via TCP/IP, and would like someone to point me in the direction
of a step-by-step setup for being able to connect to the Linux box from the
Win98 machine. When I say "step-by-step", I mean it literally.
Is there such a document out there? If so, I would be extremely grateful for
the assistance.
------------------------------
** 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
******************************