PDA

View Full Version : More Verizon DSL help needed



akira28
07-16-2003, 03:00 AM
My problem: DHCP fails when using netcardconfig. Card works fine under Windows XP.

My system: SOTEC laptop running Knoppix from CD.
ethernet card: SiS900 (notorious?).
Laptop is connected directly to modem (no router - yet)

I have unsuccessfully tried the following remedies found in this forum:
booting with noapic
ifconfig -a lists lo and eth0
initial probe says: eth0 sis900 PCI fast ethernet at 0xd000, IRQ11...
modprobe sis900

Only questionable line in probe was "can't locate block-module-2" (not sure if meaningful to my situation).

Thanks for your input.
signed- Going Nuts

rickenbacherus
07-16-2003, 04:14 AM
My problem: DHCP fails when using netcardconfig. Card works fine under Windows XP.

My system: SOTEC laptop running Knoppix from CD.
ethernet card: SiS900 (notorious?).
Laptop is connected directly to modem (no router - yet)

What kind if modem? That's cruicial info.


I have unsuccessfully tried the following remedies found in this forum:
booting with noapic
ifconfig -a lists lo and eth0

Post the entier output of ifconfig -a please. Don't worry if you have a long post- details are good.


initial probe says: eth0 sis900 PCI fast ethernet at 0xd000, IRQ11...
modprobe sis900

Do lsmod

Here are two (http://www.knoppix.net/forum/viewtopic.php?t=1012#8593) posts (http://www.knoppix.net/forum/viewtopic.php?t=1115) related to your NIC- dunno if they're going to be of any help.










[/quote]

akira28
07-16-2003, 05:02 AM
Only questionable line in probe was "can't locate block-module-2" (not sure if meaningful to my situation)

should be corrected to "can't locate module block-major-2"


What kind if modem? That's cruicial info.

Westell Wirespeed Dual


ifconfig results:
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1710 (1.6 KiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)



lsmod results:
Module Size Used by Not tainted
nls_cp437 4380 1 (autoclean)
usb-storage 54460 1
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 1 (autoclean)
ntfs 50784 0 (autoclean)
agpgart 34720 0 (unused)
trident 29076 0
ac97_codec 9992 0 [trident]
soundcore 3364 3 [trident]
pcigame 1384 0 [trident]
gameport 1276 0 [pcigame]
sis900 12428 0
serial 51876 0 (autoclean)
mousedev 3800 1
hid 19172 0 (unused)
usbmouse 1788 0 (unused)
input 3168 0 [mousedev hid usbmouse]
usb-ohci 18120 0 (unused)
usbcore 57088 1 [usb-storage hid usbmouse usb-ohci]
ds 6472 1
yenta_socket 8640 1
pcmcia_core 37568 0 [ds yenta_socket]
rtc 6908 0 (autoclean)
cloop 5168 1


Also since have tried: pump -i eth0
This command also failed.

Thanks.

[/quote]

rickenbacherus
07-16-2003, 01:42 PM
should be corrected to "can't locate module block-major-2"

Not related to your internet problems, it simply can't find the floppy drive. Do you even have a floppy?



Westell Wirespeed Dual

Oh adsl eh? That particular modem (from what I've read) has it's own DHCP server built in. Very cool if you want to build a home network.



ifconfig results:
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1710 (1.6 KiB)
Interrupt:11 Base address:0xd000


lsmod results:
Module Size Used by Not tainted
nls_cp437 4380 1 (autoclean)
usb-storage 54460 1
autofs4 8724 1 (autoclean)
af_packet 13448 0 (autoclean)
nls_iso8859-1 2876 1 (autoclean)
ntfs 50784 0 (autoclean)
agpgart 34720 0 (unused)
trident 29076 0
ac97_codec 9992 0 [trident]
soundcore 3364 3 [trident]
pcigame 1384 0 [trident]
gameport 1276 0 [pcigame]
sis900 12428 0
serial 51876 0 (autoclean)
mousedev 3800 1
hid 19172 0 (unused)
usbmouse 1788 0 (unused)
input 3168 0 [mousedev hid usbmouse]
usb-ohci 18120 0 (unused)
usbcore 57088 1 [usb-storage hid usbmouse usb-ohci]
ds 6472 1
yenta_socket 8640 1
pcmcia_core 37568 0 [ds yenta_socket]
rtc 6908 0 (autoclean)
cloop 5168 1

Hmmmmm- the s900 module is loaded but not in use. Add the following to /etc/network/interfaces:


auto eth0
iface eth0 inet dhcp
up /sbin/ifconfig eth0 mtu 1412

As I understand it you can't have an MTU of higher than 1412- yours is set to 1500 (standard) but I guess that won't work. Have you used the ADSL/PPPOE configuration tool? It can be found here:

Kmenu>Internet>Connect>ADSL/PPPOE configuration tool

akira28
07-16-2003, 02:30 PM
Thanks for your reply rick.


Not related to your internet problems, it simply can't find the floppy drive. Do you even have a floppy?

No.


Oh adsl eh? That particular modem (from what I've read) has it's own DHCP server built in. Very cool if you want to build a home network.

Soon, I hope.


As I understand it you can't have an MTU of higher than 1412- yours is set to 1500 (standard) but I guess that won't work. Have you used the ADSL/PPPOE configuration tool? It can be found here:

Kmenu>Internet>Connect>ADSL/PPPOE configuration tool

Normally I do use this tool but I didn't when I went in to get the above info for this post.


Hmmmmm- the s900 module is loaded but not in use. Add the following to /etc/network/interfaces:


Code:
auto eth0
iface eth0 inet dhcp
up /sbin/ifconfig eth0 mtu 1412

I'll try this tonight when I get home and post the results.
Until then...

akira28
07-17-2003, 02:08 AM
Hi rick.
I finished editing /etc/network/interfaces without success. The "Operation failed" again.

Here is what the file looks like:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
up /sbin/ifconfig eth0 mtu 1412

ifconfig is now:

eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0 frame:0
TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3084 (3.0 KiB) TX bytes:9432 (9.2 KiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:800 (800.0 b) TX bytes:800 (800.0 b)

ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp1 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


lsmod is now:

Module Size Used by Not tainted
ppp_async 7200 1 (autoclean)
ppp_generic 22752 4 (autoclean) [ppp_async]
slhc 4496 0 (autoclean) [ppp_generic]
ext3 62912 0 (autoclean)
jbd 45492 0 (autoclean) [ext3]
autofs4 8724 1 (autoclean)
af_packet 13448 2 (autoclean)
ntfs 50784 0 (autoclean)
nls_iso8859-1 2876 1 (autoclean)
nls_cp437 4380 1 (autoclean)
agpgart 34720 0 (unused)
trident 29076 0
ac97_codec 9992 0 [trident]
soundcore 3364 3 [trident]
pcigame 1384 0 [trident]
gameport 1276 0 [pcigame]
sis900 12428 1
serial 51876 0 (autoclean)
mousedev 3800 1
usb-storage 54460 1
hid 19172 0 (unused)
usbmouse 1788 0 (unused)
input 3168 0 [mousedev hid usbmouse]
usb-ohci 18120 0 (unused)
usbcore 57088 1 [usb-storage hid usbmouse usb-ohci]
ds 6472 1
yenta_socket 8640 1
pcmcia_core 37568 0 [ds yenta_socket]
rtc 6908 0 (autoclean)
cloop 5168 1


Is this correct? Or is there something else I could try. Would a router (wireless perhaps) be a better work around?

Your input is much appreciated!

Signed-
Nuts

Stephen
07-17-2003, 04:17 AM
Hi rick.
I finished editing /etc/network/interfaces without success. The "Operation failed" again.

Here is what the file looks like:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
up /sbin/ifconfig eth0 mtu 1412

ifconfig is now:



ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp1 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



sis900 12428 1


Signed-
Nuts

The module is loaded and in use now try 1492 for the mtu in the line:


up /sbin/ifconfig eth0 mtu 1412


you can see that is what is trying to use in the ppp0 and ppp1 although you have two interfaces I don't think this normal but I'm not positive I have never configured PPPoE. If you still have the two interfaces and it doesn't work use ifdown ppp? just take one down then the other to try a different combination to try to get it to work.


Also if you did not have the lines:



auto eth0
iface eth0 inet dhcp


already in the file then you may want to try commenting out the up line bringing up the interface with the mtu settings that may be causing the second ppp interface.

akira28
07-18-2003, 03:22 AM
OK, so far this is what I have:

I have tried editing the /etc/network/interfaces file with: 1492, 1452, and 1412. I also tried leaving out the up line altogether to no avial. DHCP is still failing upon setup.

Also things seem to be a bit unstable. PPP0 seems to appear and disappear. It also shows up sometimes as ppp1 or ppp2. When that happened I followed with ifconfig ppp_ and I received a "device not found " error.


Here I try to run netcardconfig which seems to stop eth0 from running:

root@ttyp1[knoppix]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:317 errors:0 dropped:0 overruns:0 frame:0
TX packets:674 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:19206 (18.7 KiB) TX bytes:38022 (37.1 KiB)
Interrupt:11 Base address:0xd000
root@ttyp1[knoppix]# netcardconfig
Sending DHCP broadcast from device eth0Operation failed.
Failed.
Hit return to exit.
root@ttyp1[knoppix]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:694 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:19568 (19.1 KiB) TX bytes:40354 (39.4 KiB)
Interrupt:11 Base address:0xd000

Here I am starting eth0. But notice ifconfig -a and ifconfig ppp0. ppp0 doesn't showup with -a :

root@ttyp1[knoppix]# pon
root@ttyp1[knoppix]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:329 errors:0 dropped:0 overruns:0 frame:0
TX packets:702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:19932 (19.4 KiB) TX bytes:40656 (39.7 KiB)
Interrupt:11 Base address:0xd000

root@ttyp1[knoppix]# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@ttyp1[knoppix]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:331 errors:0 dropped:0 overruns:0 frame:0
TX packets:711 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:20052 (19.5 KiB) TX bytes:41042 (40.0 KiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12272 (11.9 KiB) TX bytes:12272 (11.9 KiB)



Next I try netcardconfig again but eth0 stays running this time. Also note ppp0 is back and has now changed to mtu 1500:

root@ttyp1[knoppix]# netcardconfig
Sending DHCP broadcast from device eth0Operation failed.
Failed.
Hit return to exit.
root@ttyp1[knoppix]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:45:11:12:F3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:370 errors:0 dropped:0 overruns:0 frame:0
TX packets:807 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:22404 (21.8 KiB) TX bytes:46507 (45.4 KiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12272 (11.9 KiB) TX bytes:12272 (11.9 KiB)

ppp0 Link encap:Point-to-Point Protocol
POINTOPOINT NOARP 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 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


Thanks to all who respond here.

Stephen
07-18-2003, 03:44 AM
I'm out of ideas except you should post this to debian-user@lists.debian.org you should be able to hopefully find someone there to help, they love a good challenge and I definetly think you got one for them. Post as much detail as you have here they like to see someone has made the effort to figure it out. Although I would leave out the works fine with XP line. :wink:

rickenbacherus
07-18-2003, 07:59 PM
This (http://trekweb.com/~jasonb/articles/linux_faq.shtml)`might be of some assistance in getting you fixed.