Re: Wireless Problem: WEP (more issues)

From: A1 (a1@africamail.com)
Date: 01/02/03


From: "A1" <a1@africamail.com>
Date: Thu, 02 Jan 2003 21:26:24 GMT


"Ed Clarke" <clarke@news.cilia.org> wrote in message
news:slrnb18jom.ij7.clarke@news.cilia.org...
> On Thu, 02 Jan 2003 07:16:14 GMT, A1 <a1@africamail.com> wrote:
> >Sorry about that. By UI (user interface) I meant the Redhat Network
> >Configuration under X Windows (redhat-control-network). each time I
activate
> >the NIC from there it turns off WEP. Do you know how to activate a NIC
from
> >the command line (xterm)?? Maybe if I can do it from the command line it
> >will not turn off WEP. Any ideas??
>
> /sbin/ifconfig
> /bin/netstat -rn
>
> Please make a COMPLETE copy of the output of these commands and post
> it here. Then try these commands:
>
> /sbin/ifconfig eth0 up
> /sbin/route add -net 0 gw xxx.yyy.zzz.aaa
>
> Where xxx.yyy.zzz.aaa is the address of your router/gateway. See if you
> can ping now.

Here is some detail about the problem I am having. I have a hard and
wireless LAN going to the same AP. I used the commands that you specified
and at first it seem like the wireless LAN started working. but as soon as I
disabled the hard LAN I could no longer ping anywhere. I have label each new
command with (***) and comments with (A1). Let me know what you think.

Thanks

After fresh reboot

***[root@dhcppc1 root]# ip addr

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo

3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:30:ab:19:c5:c3 brd ff:ff:ff:ff:ff:ff

4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:10:5a:19:16:76 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.6/24 brd 192.168.0.255 scope global eth1

***[root@dhcppc1 root]# ifconfig

eth1 Link encap:Ethernet HWaddr 00:10:5A:19:16:76
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:527 errors:0 dropped:0 overruns:0 frame:0
TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:288084 (281.3 Kb) TX bytes:75666 (73.8 Kb)
Interrupt:11 Base address:0x1000

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:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5354 (5.2 Kb) TX bytes:5354 (5.2 Kb)

****[root@dhcppc1 root]# netstat -rn

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 40 0 0 eth1

***[root@dhcppc1 root]# ifconfig eth0 up

***[root@dhcppc1 root]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:30:AB:19:C5:C3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:13 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:2754 (2.6 Kb)

eth1 Link encap:Ethernet HWaddr 00:10:5A:19:16:76
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:654 errors:0 dropped:0 overruns:0 frame:0
TX packets:534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:342094 (334.0 Kb) TX bytes:89653 (87.5 Kb)
Interrupt:11 Base address:0x1000

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:78 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5354 (5.2 Kb) TX bytes:5354 (5.2 Kb)

***[root@dhcppc1 network-scripts]# ifup eth0
//A1: It seems the dhcp response is coming across the other hard LAN

Determining IP information for eth0...PING 192.168.0.1 (192.168.0.1) from
192.168.0.6 : 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---

1 packets transmitted, 1 received, 0% loss, time 0ms
rtt min/avg/max/mdev = 2.853/2.853/2.853/0.000 ms
SIOCADDRT: File exists

done.

***[root@dhcppc1 network-scripts]# ip addr

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo

3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:30:ab:19:c5:c3 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.8/24 brd 192.168.0.255 scope global eth0

4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:10:5a:19:16:76 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.6/24 brd 192.168.0.255 scope global eth1

***[root@dhcppc1 network-scripts]# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1

***[root@dhcppc1 network-scripts]# route add -net 0 gw 192.168.0.1

SIOCADDRT: File exists

***[root@dhcppc1 network-scripts]# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1

***[root@dhcppc1 network-scripts]# ping 192.168.0.1

PING 192.168.0.1 (192.168.0.1) from 192.168.0.6 : 56(84) bytes of data.

64 bytes from 192.168.0.1: icmp_seq=1 ttl=254 time=1.12 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=254 time=1.10 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=254 time=1.10 ms

--- 192.168.0.1 ping statistics ---

3 packets transmitted, 3 received, 0% loss, time 2003ms
rtt min/avg/max/mdev = 1.101/1.108/1.122/0.009 ms

***[root@dhcppc1 network-scripts]# ping -I 192.168.0.8 192.168.0.1

//A1: I think the responses are also coming across the 192.168.0.8. If I
disable

//this LAN I am back to were we started with ICMP error. See ping command
after this.

PING 192.168.0.1 (192.168.0.1) from 192.168.0.8 : 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=254 time=2.87 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=254 time=1.09 ms

***[root@dhcppc1 network-scripts]# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1

*** [root@dhcppc1 network-scripts]# ping 192.168.0.1

// A1 Link is gone again

PING 192.168.0.1 (192.168.0.1) from 192.168.0.8 : 56(84) bytes of data.
>From 192.168.0.8 icmp_seq=1 Destination Host Unreachable
>From 192.168.0.8 icmp_seq=2 Destination Host Unreachable



Relevant Pages

  • Re: [opensuse] configure jumbo frames
    ... I don't know how to test if jumbo frames work. ... command. ... inet addr:192.168.6.32 Bcast:192.168.6.255 ... UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1 ...
    (SuSE)
  • Re: Documentation Error?
    ... The actual command to make one is: ... Hmmmm, So what is happening when no 'inet' is in the string? ... To unsubscribe, ...
    (freebsd-questions)
  • Re: MySQL compromise
    ... If we are connecting a remote system the "system" command will show our local systems NIC configuration. ... Is there a way to compromise ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Pen-Test)
  • lost mouse in upgrade from 9.1 to 10
    ... After upgrading to 10 I lost my mouse. ... If I re enter the install the mouse ... I went back to a command line inet 3 and ran yast to make sure th ...
    (alt.os.linux.suse)
  • File Uploading through INET from vb
    ... I am trying to upload a file through inet from vb6 but it is giving some ... PASV error i am using PUT command also my IE is in PASSIVE MODE but still ...
    (comp.lang.basic.visual.misc)

Quantcast