belboz
11-28-2005, 10:51 PM
I realize there is a thread with this name in hardware/booting, but I wanted to put this in Networking for better visibility (I hope). I apologize in advance for the basic questions below and any duplication of earlier discussions, but Knoppix in particular and Linux in general are brand-new to me; I feel like I've wandered into a wonderful forest but whose paths and flora/fauna are without comprehensible markings .. or ones which need translation.
I am playing with Knoppix on an IBM X20, with an IBM Ethernet Pro card and a Netgear WG511 wireless card. uname -r responds with release 2.4.27.
I have been unable to make the wireless card work at all, even without WEP enabled.
Below I've appended various command results from my attempts to figure out what is, or is not, going on. Essentially what I think they demonstrate is after boot both ETH0 and ETH1 appear on ifconfig output; network connection works over a cable from the Pro adapter to the router (ping results); an ifconfig followin "netcardconfig" to start up ETH1 shows no difference in behavior (and netcardconfig reported a failure trying to reach ETH1); lspci -v shows both nw adapters (although perhaps with no driver for the Netgear card??); and forcing eth0 down and eth1 up from root results in no connections to anything at all.
If there is documentation or confirmation that a WG511 card should work -- and nothing I do gets traffic thru when it is the only connection available -- please direct me to it. If I am missing some education (never mind; I know I am .. pls provide a pointer!) ..
And if this configuration/WG511 ought to work, is there a better way to set a WEP key than ifconfig eth1 enc xxxx?
(Finally, one last note for this too-long post: I tried to save the terminal log onto the X20 hard drive, which is owned 100% by Win XP Pro, and is thus NTFS. I wasn't able to find a way to save a file from KWrite in any of the /mount/hda1 directories, the response to all attempts was "unable to write." I can't remember offhand whether NTFS is read-only to Linux, or if instead that is a FAT32 restriction; or if -- again -- I am doing something fundamentally wrong. In any case I configured KMail and sent the log to another Win machine ..)
Thanks, in advance, for any suggestions and enlightenment!
Wayne
knoppix@ttyp0[cdrom]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:5B:45:7D:B3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1014 (1014.0 b) TX bytes:1368 (1.3 KiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:03:47:0F:D0:56
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2226 errors:0 dropped:0 overruns:0 frame:0
TX packets:1632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1110944 (1.0 MiB) TX bytes:221505 (216.3 KiB)
Interrupt:11 Base address:0x2000
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.69): 56 data bytes
64 bytes from 216.109.118.69: icmp_seq=0 ttl=48 time=99.1 ms
64 bytes from 216.109.118.69: icmp_seq=1 ttl=48 time=89.4 ms
64 bytes from 216.109.118.69: icmp_seq=2 ttl=48 time=90.0 ms
64 bytes from 216.109.118.69: icmp_seq=3 ttl=48 time=90.0 ms
--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 89.4/92.1/99.1 ms
knoppix@ttyp0[cdrom]$ netcardconfig
Sending DHCP broadcast from device eth1 OK.
knoppix@ttyp0[cdrom]$ iwconfig
lo no wireless extensions.
eth0 NOT READY! ESSID:off/any
Mode:Managed Channel:6 Access Point: 00:00:00:00:00:00
Tx-Power=31 dBm Sensitivity=0/200
Retry min limit:0 RTS thr=0 B Fragment thr=0 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth1 no wireless extensions.
.. and after $ lspci-v:
0000:00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 09)
Subsystem: Intel Corp. EtherExpress PRO/100+ MiniPCI
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at f4003000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 1840 [size=64]
Memory at f4020000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: <available only to root>
.
.. and:
0000:02:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism
GT/Prism Duette] (rev 01)
Subsystem: Netgear: Unknown device 4800
Flags: bus master, medium devsel, latency 80, IRQ 11
Memory at 14400000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <available only to root>
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.79): 56 data bytes
64 bytes from 216.109.118.79: icmp_seq=0 ttl=48 time=95.2 ms
64 bytes from 216.109.118.79: icmp_seq=1 ttl=48 time=114.8 ms
64 bytes from 216.109.118.79: icmp_seq=2 ttl=48 time=100.0 ms
64 bytes from 216.109.118.79: icmp_seq=3 ttl=48 time=110.6 ms
--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 95.2/105.1/114.8 ms
.. Now, after "ifconfig eth0 down" and "ifconfig eth1 up" from root:
knoppix@ttyp0[cdrom]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:5B:45:7D:B3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1014 (1014.0 b) TX bytes:1368 (1.3 KiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:03:47:0F:D0:56
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4544 errors:0 dropped:0 overruns:0 frame:0
TX packets:2524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1700208 (1.6 MiB) TX bytes:342352 (334.3 KiB)
Interrupt:11 Base address:0x2000
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
ping: unknown host www.yahoo.com
I am playing with Knoppix on an IBM X20, with an IBM Ethernet Pro card and a Netgear WG511 wireless card. uname -r responds with release 2.4.27.
I have been unable to make the wireless card work at all, even without WEP enabled.
Below I've appended various command results from my attempts to figure out what is, or is not, going on. Essentially what I think they demonstrate is after boot both ETH0 and ETH1 appear on ifconfig output; network connection works over a cable from the Pro adapter to the router (ping results); an ifconfig followin "netcardconfig" to start up ETH1 shows no difference in behavior (and netcardconfig reported a failure trying to reach ETH1); lspci -v shows both nw adapters (although perhaps with no driver for the Netgear card??); and forcing eth0 down and eth1 up from root results in no connections to anything at all.
If there is documentation or confirmation that a WG511 card should work -- and nothing I do gets traffic thru when it is the only connection available -- please direct me to it. If I am missing some education (never mind; I know I am .. pls provide a pointer!) ..
And if this configuration/WG511 ought to work, is there a better way to set a WEP key than ifconfig eth1 enc xxxx?
(Finally, one last note for this too-long post: I tried to save the terminal log onto the X20 hard drive, which is owned 100% by Win XP Pro, and is thus NTFS. I wasn't able to find a way to save a file from KWrite in any of the /mount/hda1 directories, the response to all attempts was "unable to write." I can't remember offhand whether NTFS is read-only to Linux, or if instead that is a FAT32 restriction; or if -- again -- I am doing something fundamentally wrong. In any case I configured KMail and sent the log to another Win machine ..)
Thanks, in advance, for any suggestions and enlightenment!
Wayne
knoppix@ttyp0[cdrom]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:5B:45:7D:B3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1014 (1014.0 b) TX bytes:1368 (1.3 KiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:03:47:0F:D0:56
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2226 errors:0 dropped:0 overruns:0 frame:0
TX packets:1632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1110944 (1.0 MiB) TX bytes:221505 (216.3 KiB)
Interrupt:11 Base address:0x2000
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.69): 56 data bytes
64 bytes from 216.109.118.69: icmp_seq=0 ttl=48 time=99.1 ms
64 bytes from 216.109.118.69: icmp_seq=1 ttl=48 time=89.4 ms
64 bytes from 216.109.118.69: icmp_seq=2 ttl=48 time=90.0 ms
64 bytes from 216.109.118.69: icmp_seq=3 ttl=48 time=90.0 ms
--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 89.4/92.1/99.1 ms
knoppix@ttyp0[cdrom]$ netcardconfig
Sending DHCP broadcast from device eth1 OK.
knoppix@ttyp0[cdrom]$ iwconfig
lo no wireless extensions.
eth0 NOT READY! ESSID:off/any
Mode:Managed Channel:6 Access Point: 00:00:00:00:00:00
Tx-Power=31 dBm Sensitivity=0/200
Retry min limit:0 RTS thr=0 B Fragment thr=0 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth1 no wireless extensions.
.. and after $ lspci-v:
0000:00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 09)
Subsystem: Intel Corp. EtherExpress PRO/100+ MiniPCI
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at f4003000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 1840 [size=64]
Memory at f4020000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: <available only to root>
.
.. and:
0000:02:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism
GT/Prism Duette] (rev 01)
Subsystem: Netgear: Unknown device 4800
Flags: bus master, medium devsel, latency 80, IRQ 11
Memory at 14400000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <available only to root>
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.79): 56 data bytes
64 bytes from 216.109.118.79: icmp_seq=0 ttl=48 time=95.2 ms
64 bytes from 216.109.118.79: icmp_seq=1 ttl=48 time=114.8 ms
64 bytes from 216.109.118.79: icmp_seq=2 ttl=48 time=100.0 ms
64 bytes from 216.109.118.79: icmp_seq=3 ttl=48 time=110.6 ms
--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 95.2/105.1/114.8 ms
.. Now, after "ifconfig eth0 down" and "ifconfig eth1 up" from root:
knoppix@ttyp0[cdrom]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:5B:45:7D:B3
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1014 (1014.0 b) TX bytes:1368 (1.3 KiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:03:47:0F:D0:56
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4544 errors:0 dropped:0 overruns:0 frame:0
TX packets:2524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1700208 (1.6 MiB) TX bytes:342352 (334.3 KiB)
Interrupt:11 Base address:0x2000
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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)
knoppix@ttyp0[cdrom]$ ping www.yahoo.com
ping: unknown host www.yahoo.com