PPP works if Net card isn't installed

PPP works if Net card isn't installed

Post by Benny Gue » Sun, 02 Feb 1997 04:00:00



I'm running Slackware96 Kernel 2.0.0.0 on a Toshiba Satellite Pro T2155CDS
laptop.  Everything works (X, Mouse, CD, Sound, Modem, Network...everything)
......except for the following problem I've been struggling with.......

If my route in the /etc/rc.d/rc.inet1 file is set as follows my Local
Network will work, the system boots fine but PPP will not work.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0

Following is a screen shot of my ifconfig and route commands when both
the modem and network card are plugged in and the route add -net 127.0.0.0
is in the /etc/rc.d/rc.inet1 file:

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:25 errors:0 dropped:0 overruns:0
          TX packets:25 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:A0:24:A6:FD:92
          inet addr:192.9.200.45  Bcast:192.9.200.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:9 errors:0 dropped:0 overruns:0
          Interrupt:5 Base address:0x300

ROUTE:
Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use Iface
localnet        *               255.255.255.0   U     1500   0        3 eth0
loopback        *               255.0.0.0       U     3584   0        2 lo

If I change to /sbin/route add -net 127.0.0.1 in the /etc/rc.d/rc.inet1
file, PPP will work, but ONLY if I pop the PCMCIA Network card out and
reboot.  It will lock up on reboot if I leave the Network card in also.

AND Following is the Ifconfig and Route commands when I reboot with the
network card unplugged and PPP running and the route add -net 127.0.0.1
is in the /etc/rc.d/rc.inet1 file:

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:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

ppp0      Link encap:Point-Point Protocol
          inet addr:207.53.2.70  P-t-P:205.152.2.165  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0
          TX packets:14 errors:0 dropped:0 overruns:0

ROUTE:
Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use Iface
205.152.2.165   *               255.255.255.255 UH    1500   0        0 ppp0
default         205.152.2.165   *               UG    1500   0        2 ppp0

I'm not sure if any of the following will help???

The pppd command I use in /usr/sbin/ppp-on:
/usr/sbin/pppd /dev/modem 115200 -detach lock modem crtscts \
        asyncmap 0 $LOCAL_IP: \
        noipdefault netmask $NETMASK defaultroute \
        lcp-echo-failure 10 lcp-echo-interval 120 lcp-echo-failure 3 \
        connect $DIALER_SCRIPT &

The /etc/resolv.conf file:
domain bellsouth.net
nameserver 205.152.0.20
nameserver 205.152.0.5
domain ctsinc.net
nameserver 192.9.200.9

After reading every FAQ, HOW-TO, and README I could find on the CD's,
Web pages, and books I have....I've about tapped my resources. <grin>
Except for newsgroups.  And after reading through all the newsgroups
trying to find the answer I've come to realize that this is probably
the best place to go to get the 'Right' answer!

Thanks in advance!
Long Live Linux!

 
 
 

PPP works if Net card isn't installed

Post by B.A.McCau.. » Tue, 04 Feb 1997 04:00:00



>If my route in the /etc/rc.d/rc.inet1 file is set as follows my Local
>Network will work, the system boots fine but PPP will not work.

You give a generally good description of most things but never quantify
"will not work".  Exactly what happens if you try.

Quote:>If I change to /sbin/route add -net 127.0.0.1

This is a nonsensical command.  "route add -net 127.0.0.0" or "route
add -host 127.0.0.1".  Personally I favour the latter but I'm not
aware of any real reason why one is better than the other.

Quote:> in the /etc/rc.d/rc.inet1
>file, PPP will work, but ONLY if I pop the PCMCIA Network card out and
>reboot.  It will lock up on reboot if I leave the Network card in also.

Hmmm... you'd have to define "lock up".  Do you mean crash or just
pause for a minuite or two.  It begins to sound like you have a
hardware confict between the devices.  On the other hand if its just a
pause then you may have some spurious nameserver requests being fired
off (although I can't immediately see why this would be).

Try commenting out all the network stuff and then login on two
different VCs and issue all the commands by hand.  See if your machine
really locks up by going the other VC.

Quote:>AND Following is the Ifconfig and Route commands when I reboot with the
>network card unplugged and PPP running and the route add -net 127.0.0.1
>is in the /etc/rc.d/rc.inet1 file:
>The pppd command I use in /usr/sbin/ppp-on:
>/usr/sbin/pppd /dev/modem 115200 -detach lock modem crtscts \
>        asyncmap 0 $LOCAL_IP: \
>        noipdefault netmask $NETMASK defaultroute \
>        lcp-echo-failure 10 lcp-echo-interval 120 lcp-echo-failure 3 \
>        connect $DIALER_SCRIPT &

Yet again the perverse "pppd ... -detach ... &"!  This really bugs me
completely out of all proportion.  I've written to the PPP-HOWTO
maintainer to point out the nonsensical (although harmless) nature of
this.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


 
 
 

1. samba: 'net view \\server' works, 'net view' fails

From my WinXP client (using cygwin), I can browse the shares on a samba
server whose name I know.  But when I try to browse the whole network, I
get a logon failure and the smbd logs show that it's not seeing my
username.

Browsing shares on \\server, from a different machine \\client (using
cygwin) while logged in as testuser:

$ net view '\\server'
Shared resources at \\server

Share name              Type   Used as  Comment
-------------------------------------------------------------------------------
test                    Disk            
The command completed successfully.

But when I try to browse the whole network, I get a logon failure:

$ net view
System error 1326 has occurred.

Logon failure: unknown user name or bad password.

This is an authentication problem.  When I issue 'net view \\server' on the
client, the smbd log shows

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(216)
  check_ntlm_password:  Checking password for unmapped user [CLIENT

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(219)

But when I issue just 'net view', the smbd log instead shows

[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(216)

with the new password interface
[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(219)

So for some reason the 'net view \\server' request is processing my user
name, but 'net view' isn't.

Any ideas what could cause this?
Thanks,
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"

2. avoiding certain directories when taring?

3. more 'recommend e'net card that works'

4. Yet another bad Vold bug in S8/S9...

5. eth0 works but PPP isn't routing

6. ipmasqadm - how to use it??

7. Beware OS5: PPP doesn't work w/network card installed

8. YP "make group" problem

9. Linux installed, but isn't working properly

10. Sound Card just isn't working

11. Scsi install - supposedly supported card isn't there!

12. nmap from net a to net B, don't work, but ping yes

13. ping works telnet/ftp don't (ppp/local net)