Linux-Networking Digest #262, Volume #11 Mon, 24 May 99 08:13:30 EDT
Contents:
Re: can't locate module ppp-compress-21 (Guilherme Mesquita)
Re: Small private network woes - Still not working ("Curt")
Re: denying access to certain websites (Olaf Walkowiak)
Re: MODEM SPEED ("Gero H. Marten")
Re: IP Masquerade/Routing ("Curt")
Routing & Masquerading ("Greg Bastian")
Re: @home and 10Base-T--anyone using this combo with linux? (Rob van der Putten)
Re: 3C509B NIC Problem...try this .... (Rob van der Putten)
IP Masquerading Connecting but not working ("Nigel Sim")
Re: ip-up,ip-down dcripte in /etc/ppp (Joseph Tweed)
Re: Cannot compile kernel in RH 6 (Mark Tranchant)
NIS / ypbind question for gurus. ([EMAIL PROTECTED])
Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Georg Hitsch)
Re: I need help with my ethernet connection...(this is probably easy) (Mike)
Re: Can't communicate through 2nd NIC (Mike)
Re: Newbie problems with RedHat 5.2 PPP (Mike)
Re: Using two netmasks on one machine? (Mike)
----------------------------------------------------------------------------
From: Guilherme Mesquita <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware
Subject: Re: can't locate module ppp-compress-21
Date: Mon, 24 May 1999 04:58:00 -0300
Clifford Kite wrote:
>
> Eriksson ([EMAIL PROTECTED]) wrote:
>
> : When I connect to my ISP I get an IP address and everything seems to be OK.
> : But I can't do anything. (like ping, ftp, browsing etc) "WTF!" Was my
> : thought cause according to /var/log/messages everything SHOULD be ok.
>
> : But when I checked "ifconfig" there is no ppp0 interface.
>
> : My /etc/resolv.conf should be ok.
>
> : Is there anything else I've missed??
>
> Have you read the linux/Documentation/Changes file in the kernel source
> tree? If not then you may have missed more than one thing.
>
> --
> Clifford Kite <kite@inet%port.com> Not a guru. (tm)
> /* The wealth of a nation is created by the productive labor of its
> * citizens. */
Well Kite, I think your problem isn`t the PPPCompress-module, but your
nameserver or your connection with your ISP. Maybe you should try to
connect by a communication soft like minicom and try to estabilish a ppp
connection. If everything goes ok, try to ping a IP (like your IP and
your netmask). If all this goes ok, try a hostname, like altavista.com.
So have you find the problem? If it`s the nameserver, try to get your
ISP namserver`s IP and set it as your default one at your linux BOX.
Hope you be successful :)
--
Guilherme Mesquita (aka guy)
<[EMAIL PROTECTED]>
http://members.xoom.com/lwbr
*** under construct ***
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Small private network woes - Still not working
Date: Mon, 24 May 1999 05:18:48 -0500
Seems like both of your ethernet cards are sending but not receiving.
Are interrupts correct? May need DOS setup software to insure this.
Is cabling correct? Crossover cable between the 2 machines, or a hub with
regular cable.
<James R. Barnett>; Jr. <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
> I appreciate all the help I have gotten but I still can't seem to find
> the problem. I am desparate and frustrated. If anyone could lookover the
output
> of these commands and could post some suggestions, I would be very
grateful.
>
> here is the output of route -n by arson (192.168.1.1):
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
Iface
> 208.128.7.17 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 3
eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 208.128.7.17 0.0.0.0 UG 0 0 8
ppp0
>
> here is 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:47 errors:0 dropped:0 overruns:0 frame:0
> TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
>
> eth0 Link encap:Ethernet HWaddr 00:10:5A:0B:50:2F
> 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:56 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> Interrupt:10 Base address:0x300
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:208.128.7.90 P-t-P:208.128.7.17 Mask:255.255.255.0
> UP POINTOPOINT RUNNING MTU:1500 Metric:1
> RX packets:342 errors:1 dropped:1 overruns:0 frame:0
> TX packets:318 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> Memory:12ec038-12ecc04
>
> here is the output of route -n by tireiron (192.168.1.2):
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
Iface
> 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 144
eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 5
eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 15 lo
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 26 eth0
>
> Here is the ifconfig for tireiron:
>
> 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:104337 errors:0 dropped:0 overruns:0 frame:0
> TX packets:104337 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
>
> eth0 Link encap:Ethernet HWaddr 00:10:5A:0C:9E:1C
> inet addr:192.168.1.2 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:258 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> Interrupt:10 Base address:0x300
>
> Please, please, PLEASE help if you can. I have been working on this
> considerably every day for a week and feel like I am getting nowhere.
>
> Thanks in advance,
>
> James
------------------------------
From: Olaf Walkowiak <[EMAIL PROTECTED]>
Subject: Re: denying access to certain websites
Date: 24 May 1999 12:21:01 +0200
Hello,
John Thompson <[EMAIL PROTECTED]> writes:
> Doug Pitek wrote:
> >
> > see if your ISP have a proxy server on his side for porn.. mine has one
> > called net filter.. where you bounce all your traffic through his port 81
> > and it dedices wheather or not to get that page...
>
> > Tom Elsesser <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > I am setting up a RH5.2 linux machine in my childrens school as an
> > > http server and also ip forwarding for internet access. The principal
> > > is wary of the kids abusing the internet, gettting access to sites
> > > they should not be allowed to view (it's a K-8 parochial school).
> > > While I have the server set up for dial out and ipforwarding, I don't
> > > know how to keep them from viewing the undesirable sites. I have used
> > > /etc/hosts.deny and hosts.allow for individual ip's, but that seems to
> > > be quite a daunting task to find *all* the sex sites and put them into
> > > a file. What would be the best way for me to go about this?
>
> Check out "Internet Junkbuster"
> (http://www.junkbusters.com). It's a web proxy that you can
> configure to block certain sites and it works well in
> linux. While you'll still have to feed it a list of sites
> it may be nicer than your ipforwarding method.
Or use Squid (a proxy) and it's redirector feature. I have done a
redirector to block access to certain sites, it could be easyly
modified to block URLs containing special patterns (even regexps).
If your interested, I can send it to you, just let me know.
CU
Olaf
--
ACMEDIA - Cologne - Germany
professional and easy2use e-Commerce Systems
http://www.acmedia.de http://www.buy-world.de
------------------------------
From: "Gero H. Marten" <[EMAIL PROTECTED]>
Subject: Re: MODEM SPEED
Date: Mon, 24 May 1999 11:48:59 +0200
JJ wrote:
>
> please....lower your voice...(caps)..Thanx
Why, if you don't answer his question?
--
Gero H. Marten
<http://www.provi.de/gmarten/index.html>
--
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: IP Masquerade/Routing
Date: Mon, 24 May 1999 05:24:02 -0500
You might contact the owner of the IP range to write a threatening letter.
It appears to be University of Toronto, via whois on www.arin.net
Athol Marshall <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have set-up Linux in order to replace a Cisco router. (I need
> IP masquerading to multiple locations, and Cisco only supports it for 2
> locations). Other routers only support up to 8 and they're overpriced.
>
> I've got IP masquerading working over diald/PPP/ISDN to the Internet.
>
> I'm now about to set-up the routes for the various other networks I need
> to access.
>
> Here's the problem.
>
> My clients are very badly behaved and have network addresses in use
> which may be on the Internet somewhere. ie they're not using private
> IP addresses.
>
> e.g. one of them uses 128.100.0.0, which for all I know may exist
> somewhere else.
>
> If I route 128.100.0.0 via PPP to my client, and I then need to access
> the "real" 128.100.0.0 for some reason, it clearly won't work.
>
> Is there anyway I can alias my client's network address so that I could
> pretend it was say 172.16.0.0 and have the IP addresses translated
> before passing packets to PPP?
>
> e.g. a host at the other end has IP address 128.100.254.3
>
> I would define it in my hosts file or NIS as 172.16.254.3
>
> I would define a route to 172.16.0.0 via a diald/PPP interface.
>
> The kernel would translate the 172.16 into 128.100 for me, so the router
> at the other end would forward the packet correctly.
>
> If this is not currently possible, can anyone point me to the
> appropriate kernel modules so I can try and code it myself?
>
> I realise that the proper solution would be to use private IP addresses,
> but this is something I have no control over.
>
> thanks for any tips/advice,
>
> --
> ======================================================================
> Athol Marshall, Superior Programming Power Ltd
> [EMAIL PROTECTED]
> ======================================================================
>
>
>
------------------------------
From: "Greg Bastian" <[EMAIL PROTECTED]>
Subject: Routing & Masquerading
Date: Mon, 24 May 1999 17:49:16 +1000
Hi All,
I am hoping that someone can provide me with some assistance. I am at wits
end.
The situation is :
I am replacing our internal router which is a packet filter between our
external network and internal network. The external network has another
router on the external interface which provides the link to the internet.
I had a RedHat 5.2 machine masquerading our internal addresses and have
replaced it with a RedHat 6.0 machine.
I have set up IP Masquerading correctly. (Can see machines outside internal
router from internal LAN machines)
My problem is that I cannot see any machines outside our external network.
Old Machine : Internal Eth0 192.168.1.1, External Eth1 1.1.1.1
New Machine Internal Eth0 192.168.1.1, External Eth1 1.1.1.2
All subnetting and netmasks are working correctly but packets are not
getting through.
Cheers,
Greg.
------------------------------
From: Rob van der Putten <[EMAIL PROTECTED]>
Subject: Re: @home and 10Base-T--anyone using this combo with linux?
Date: 24 May 1999 12:26:25 +0200
Hi there
Zenon Fortuna <[EMAIL PROTECTED]> wrote:
> Before the HP27247 I had the 3c509B card: this one worked great under NT
> not not at all under Linux. Some people have this card working fine on their
> systems, but reading the News discussions I would conclude that there are
> serious problems with this card support.
If it's an ISA card;
- Switch off PnP
- Switch off media type autodetect
Regards,
Rob
--
+------------------------------------------------------------------------+
| http://www.sput.webster.nl/spam-policy.html |
+------------------------------------------------------------------------+
------------------------------
From: Rob van der Putten <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: 3C509B NIC Problem...try this ....
Date: 24 May 1999 12:30:27 +0200
Hi there
In comp.os.linux.networking Zenon Fortuna <[EMAIL PROTECTED]> wrote:
> I struggled with my 3c509B too long ... Then I made the other card
> working in 5 minutes.
Use 3c5x9cfg.exe (dos) to switch off PnP and media type autodetect.
Regards,
Rob
--
+------------------------------------------------------------------------+
| http://www.sput.webster.nl/spam-policy.html |
+------------------------------------------------------------------------+
------------------------------
From: "Nigel Sim" <[EMAIL PROTECTED]>
Subject: IP Masquerading Connecting but not working
Date: Mon, 24 May 1999 20:31:38 +1000
At this stage the information I have is a little vague but there may be
enough here for someone to offer some suggestions.
I had a working IP masquerading server running Debian 2.1 (Kernel 2.0.36). I
upgraded the kernel to 2.2.8 (by hand compiling it etc, as opposed to using
the package manager, for which 2.2.8 wasn't available). Things still worked.
I then, in order to install the ICQ masquerading module, installed (using
dselect) ipautofw (Automatic Packet Forwarding i believe) and on top of that
I installed Squid with the idea to set up a caching http proxy. It was after
the next restart that my IP masquerading, although it on the surface
appeared to work, really didn't.
>From the computers on the local network you can start to connect to a web
site but it will not get beyond "Site found, waiting for reply". Simularly
when checking email it can connect, authorise and then say downloading
message 1 of 10, but it doesn't get beyond that (ie, no progress into the
download). ICQ also works a little. It connects, you can see who is on, but
when you try to get someones info it complains you are not on the internet.
The rules in IPChains havn't changed since it was working.
Any Suggestions?
Thanks
Nigel
------------------------------
From: Joseph Tweed <[EMAIL PROTECTED]>
Subject: Re: ip-up,ip-down dcripte in /etc/ppp
Date: Mon, 24 May 1999 10:37:48 +0200
Konstantin Wiesel wrote:
> How doe i have to call ipppd in order to make it execute these scripts
All I do is:
ipppd &
> and how does such a script have to look like in order to execute
> for instance the following line:
>
> route add default ippp0
That line should be in ip-down. You should also execute it before
referencing ippp0.
This is what happens:
1. You execute all isdnctrl and ifconfig calls to initialise ippp0.
2. You execute "ipppd &"
3. You execute "route add default ippp0"
4. You access ippp0 , e.g. by pinging its IP-number
5. ipppd calls the number installed through isdnctrl, and then executes
/etc/ppp/ip-up.
6. After the connection is terminated, ipppd calls /etc/ppp/ip-down.
7. If "route add default ippp0" was in /etc/ppp/ip-down, then continue
from step 4. Else continue from step 3.
------------------------------
From: Mark Tranchant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Cannot compile kernel in RH 6
Date: Mon, 24 May 1999 11:35:09 +0100
Reply-To: [EMAIL PROTECTED]
Yes. Try using bzImage or modules.
Seriously, this is a frequently asked question, and is explained in the
kernel source README. Using "make bzImage" will leave you with a kernel
called bzImage in arch/i386/boot, which will work. Alternatively,
compile some things as modules (anything you don't need at boot).
Mark.
Jim Orfanakos wrote:
>
> I cannot recompile the kernel in RedHat 6.
>
> In the '/usr/src/linux' directory I run 'make xconfig'. After that I run
> 'make dep;make clean'....and then I run 'make boot'.
>
> The problem is with 'make boot'. It finishes with the error:
>
> 'System is 612K'
> 'System is to too big'
> 'Try using bzImage or modules'
>
> Any Ideas?
>
> Thanks.
>
> Jim
>
> ------------------------------------------------------
> Jim, Monika and Sophia Orfanakos
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.orfanakos.com
> ------------------------------------------------------
------------------------------
From: [EMAIL PROTECTED]
Subject: NIS / ypbind question for gurus.
Date: Mon, 24 May 1999 09:17:40 GMT
Can anyone tell me what this means :
"ypbind forgot to set AF_INET in udp sendmsg. FIX IT"
I get this when shutting down after logging in via an NIS server.
>From reading this NG it seems a few people have had this problem and no-
one has come up with an answer yet !
BTW I am running RH6 workstations and a RH5.2 NIS server.
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: Georg Hitsch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,de.comm.internet.routing
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: Mon, 24 May 1999 13:11:45 +0200
On 24 May 1999, Detlef Bosau wrote:
> Kann ich auf Linux ICMP Redirect und IP Source Routing unterdruecken?
> Bzw. wie weit kann der Kernel letzteres ueberhaupt?
ICMP-Redirect kann man im Kernel abschalten;
Source-Routing ist default-maessig off (kann erst der 2.2er-kernel)
(bzw. was meinst du mit "IP Source Routing unterdruecken" ?)
Georg
--
Georg Hitsch ++ mail: [EMAIL PROTECTED]
ripe: gh231-ripe ++ web: http://ge.org/
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: I need help with my ethernet connection...(this is probably easy)
Date: Sun, 23 May 1999 05:20:53 +0000
"WYLES, ERIC JASON" wrote:
>
> I am running RedHat 5.2 and I am having some troubles with my network
> connection. I can get it to work, but I have to activate it manually. I
> would like to get it to work at boot time.
>
> I know that to insert the module for my card the command is:
>
> insmod /lib/modules/2.0.36-0.7/net/rtl8139.o
>
> then, I type:
>
> inetd (I'm not sure what this does, but it works)
>
> Then, from an xterm window I can start netcfg and look at all of my devices
> and connections. I have an eth0 set up for DHCP and I have it set to
> activate at boot time. If I hit the activate button there, it is activated,
> but at reboot it is not.
>
> I presume that I need to put that above two commands in some init files, but
> I don't know where to put them to load them at the correct time. I tried
> rc.local, but I'm sure that is too late for what I need because rc.local is
> the last thing executed I think.
>
> If someone could please help me figure out what commands to put in which
> init scripts it would be helpful.
>
> Is there a way from the command line to say "activate a certain network
> connection"
>
> Thank you,
> Eric Wyles
>
> **** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****
use "linuxconf" goto basic host information, adpater1 enter your adres
and revalvant info, save. quit , activate changes reboot.
should work.
------------------------------
From: Mike <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Can't communicate through 2nd NIC
Date: Sun, 23 May 1999 05:10:50 +0000
Steve Snyder wrote:
>
> On Fri, 21 May 1999 23:53:51 -0700, Harley Waagmeester wrote:
>
> >IPADDR="24.4.162.173" <-------
> >
> >You have assigned your internet /cable modem address to your eth1 network card,
> >that won't work.
> >Give your eth1 card a local ip like you have for the eth0 card.
> >I'll give a tough sketch of what needs to happen:
> >if you give eth1 an ip address of 192.168.0.13,
> >Then you need :
> >route add 24.4.162.173 gw 192.168.0.13
> >route add default gw 24.4.162.173
> >
> >I'm probably wrong about the syntax
> >Just give the eth1 a local ip address and leave the gateway address as
> >24.4.162.173,
> >and maybe the startup scripts will set the default route up correctly
> >
> >I hope someone explains this better, or gives the right numbers to plug into the
> >config files :))
> >
> >The point is that you want a local ip for the eth1 interface card and use that as
> >the gateway out
> >of the machine, and the default route is a "logical route" that flows through the
> >hardware route.
> >
> >The 24.4.162.173 is the address of the cable modem device
>
> More info:
>
> In my last message I wrote that I changed my config as recommended above,
> but saw no difference in behavior (ping/telnet still didn't work.) However
> there *is* a difference in the output of tcpdump.
>
> Output with previous config:
> ----------------------------
> # /usr/sbin/tcpdump -i eth1
> tcpdump: listening on eth1
> 15:17:58.005410 arp who-has 128.63.2.53 tell ct52636-a
> 15:17:58.005529 arp who-has 128.9.0.107 tell ct52636-a
> 15:17:58.008410 arp who-has 198.41.0.4 tell ct52636-a
> 15:17:58.026120 arp who-has 128.63.2.53 tell 24.4.162.129
> 15:17:58.035820 arp who-has 128.9.0.107 tell 24.4.162.129
> 15:17:58.045582 arp who-has 198.41.0.4 tell 24.4.162.129
> 15:17:59.005240 arp who-has 198.41.0.4 tell ct52636-a
> 15:17:59.005254 arp who-has 128.9.0.107 tell ct52636-a
> 15:17:59.005275 arp who-has 128.63.2.53 tell ct52636-a
> 15:17:59.025473 arp who-has 198.41.0.4 tell 24.4.162.129
> 15:17:59.036064 arp who-has 128.9.0.107 tell 24.4.162.129
> 15:17:59.045111 arp who-has 128.63.2.53 tell 24.4.162.129
> 15:18:00.005232 arp who-has 128.63.2.53 tell ct52636-a
> 15:18:00.005242 arp who-has 128.9.0.107 tell ct52636-a
> 15:18:00.005264 arp who-has 198.41.0.4 tell ct52636-a
> 15:18:00.027275 arp who-has 128.63.2.53 tell 24.4.162.129
> 15:18:00.038154 arp who-has 128.9.0.107 tell 24.4.162.129
> 15:18:00.045851 arp who-has 198.41.0.4 tell 24.4.162.129
> 15:18:02.005334 arp who-has 128.9.0.107 tell ct52636-a
> 20 packets received by filter
> 0 packets dropped by kernel
>
> With new configuration:
> -----------------------
> # /usr/sbin/tcpdump -i eth1
> tcpdump: listening on eth1
> 11:50:49.001747 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:50.001746 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:53.001844 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:54.001733 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:55.001739 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:56.001900 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:57.001739 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:58.001734 arp who-has 24.4.162.173 tell ct52636-a
> 11:50:59.021801 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:00.021729 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:01.021733 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:04.001822 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:05.001742 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:06.001733 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:07.381810 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:08.381734 arp who-has 24.4.162.173 tell ct52636-a
> 11:51:09.381737 arp who-has 24.4.162.173 tell ct52636-a
> 17 packets received by filter
> 0 packets dropped by kernel
>
> Note that during this output I am not explicly addressing eth1. If may be
> just a coincident that the tcpdump has changed, but there you go.
>
> Although there apparently is activity on eth1, the RX seen with ipconfig
> are not increment regularly during this activity, though the TX count does
> increment. Hmm. This is an example of output:
>
> # /sbin/ipconfig eth1
> eth1 Link encap:Ethernet HWaddr 00:60:97:C8:01:C8
> inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:44 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3014 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> Interrupt:10 Base address:0xe800
>
> Any thoughts?
>
> ***** Steve Snyder *****
try "man route"
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: Newbie problems with RedHat 5.2 PPP
Date: Sun, 23 May 1999 06:33:01 +0000
"Keith E. Dickson" wrote:
>
> Subject:
> Newbie problems with PPP in 5.2
> Date:
> Sat, 22 May 1999 12:34:21 -0500
> From:
> "Keith E. Dickson" <[EMAIL PROTECTED]>
> Newsgroups:
> linux.redhat.ppp
>
> OK, here's the story:
> I"m completely new to the Linux scene, but after doing a lot of reading,
>
> I decided to give it a try, mainly as a toy and a learning experience. I
>
> bought the book Linux Unleashed which included RedHat 5.2, and have
> managed it get it up and running on my computer, with XWindows also. Had
>
> some problems trying to get my mouse to work, had it set up and
> recognized, but my cursor kept jumping up to the upper right corner. I
> started doing some reading, and when I came back a half hour later, the
> screen-saver had engaged, and when I wiggled the mouse to disengage, the
>
> mouse seemed to be working great.
>
> Now I'm ready to start configuring my dialup to the internet. I think
> I've read about every single howto online, printed most of them out for
> reference, but it now seems something's not set up right with the
> kernel. I've tried configuring by using linuxconf and going into the
> netconfig, but after entering in all the appropriate info, I hit the
> Apply Changes button, which tells me there was errors and shows me the
> configuration log which states:
>
> Checking base configuration
> Checking kernel's modules
> Mounting local volumes
> Checking LILO
> Executing some Sysv init scripts
> *No APM support in kernel
> >Starting up APM daemon:apmd
>
> but at this point, my hard drive light stays on constantly, and nothing
> happens. In doing some more reading, I read the all kernels from RedHat
> come with PPP support, but to make sure, type in: dmesg | less
> .......I've done that, looking for some reference to PPP, and there is
> none.
> Did some more reading....found another reference that says to type in:
> rpm -qa | grep ppp to check for PPP support. Did that, it returned:
> ppp-2.3.5-1......so does this mean I DO have what I need?
>
> As if it weren't too obvious, I'm just starting out with this, I have no
>
> programming experience, just an abundance of curiosity and patience. So
> from what I've supplied here, can someone point me in the right
> direction on how to proceed? Please be very specific, since I'm not up
> to speed with the commands and such, but I'm slowly catching on to some
> of the very basics.
> Thanks for the help!
Hello Kieth,
welcome to the seemingly mystical world of linux.
first thing that you should do is turn off apmd "advanced power
managment daemon" (this is for notebook computers, and you don't sound
like you need that from the problem your having.) To do that once your
machine boots, type setup at the command prompt. 9Make sure you're not
in an X-windows session or you will have a core dump. You will see a
list of items in a somewhat graphical display, look for NTSYSV and run
that. Look for apmd and uncheck the box. This will stop the apmd daemon
from being started at boot time.
As far as PPP goes you have what you need, but it needs to be
configured. You will find the configuration file in /etc/PPP/options.
There are some sample configurations explaining what different options
mean in /usr/docs/PPP.
here is the first /etc/ppp/options configuration I used, it should work
for you.
modem
noipdefault
ipcp-accept-local
ipcp-accept-remote
mru 590
mtu 590
nodetach
defaultroute
If your using rh5, you are probably using the modem tool on the controll
panel, make sure you have the right com port configured for your modem.
Use netconfig to set up your internet account, and to connect to the
net.
Have fun,
mike
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: Using two netmasks on one machine?
Date: Sun, 23 May 1999 05:34:23 +0000
James Knott wrote:
>
> Forwarding has nothing to do with using an alias.
>
> In article <75y_2.1224$[EMAIL PROTECTED]>,
> "Curt" <[EMAIL PROTECTED]> wrote:
> >It should work.
> >Do you have forwarding on? Take a look at /etc/sysconfig/network
> >FORWARD_IPV4=yes
> >
> ><[EMAIL PROTECTED]> wrote in message
> >news:7he4f4$sak$[EMAIL PROTECTED]...
> >> I currently have a Red Hat Linux 5.2 (Kernel 2.2.7) installed, but I
> >> have a problem that I cannot get it to respond to two IP addresses on
> >> two networks. Well...I don't know how to do it.
> >>
> >> There are two networks, and I want my machine to be visible on both of
> >> them. I have tried IP Aliasing, but that only gives you an option for
> >> extra IP addresses and not Netmasks. Is there a way to respond to two
> >> Netmasks?
> >>
> >> Thanks,
> >> Terence.
> >>
> >>
> >> --== Sent via Deja.com http://www.deja.com/ ==--
> >> ---Share what you know. Learn what you don't.---
> >
> >
>
> --
> E-mail [EMAIL PROTECTED]
> _________________________________________________________________________
> The above opinions are my own and not those of ISM Corp., a subsidiary of
> IBM Canada Ltd.
if the two networks are internal networks each on a seperate subnet you
ned two nic's to have your machine respond to both.
------------------------------
** 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
******************************