Sounds like an issue with the routing to me. For us to get a better idea of your setup would you please share here the output from PC1 of:
ifconfig -a ; route ; cat /proc/cmdline ; cat /opt/bootlocal.sh
Hi Maro,
Thank you for your reply.
I have the following output following your instructions before and after I enter in the details in the network interface of control panel.
root@box:~# ifconfig -a
dummy0 Link encap:Ethernet HWaddr 2E:32:B4:8A:8A:05
BROADCAST NOARP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:25:11:44:06:2E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:327 (327.0 B)
Interrupt:26 Base address:0xe000
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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:600 (600.0 B) TX bytes:600 (600.0 B)
wlan0 Link encap:Ethernet HWaddr 00:25:86:B0:BC:EB
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:394 errors:0 dropped:0 overruns:0 frame:0
TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:328056 (320.3 KiB) TX bytes:91141 (89.0 KiB)
root@box:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
root@box:~# cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage quiet swapon=sda1 tce=sda2 opt=sda2 home=sda3 xvesa=1400x1050x24
root@box:~# cat /opt/bootlocal.sh
#!/bin/sh
# put other system startup commands here
/opt/wlan0.sh &
I have entered in the following for the Network Interface in control panel.
eth0
IP 192.168.0.3
Network mask 255.255.255.0
Boardcast 192.168.0.255
Gateway 192.168.0.1
Nameserver 192.168.0.1
root@box:~# ifconfig -a
dummy0 Link encap:Ethernet HWaddr F6:AC:4C:D6:2A:09
BROADCAST NOARP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:25:11:44:06:2E
inet addr:192.168.0.3 Bcast:192.168.0.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:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:327 (327.0 B)
Interrupt:26 Base address:0xe000
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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)
wlan0 Link encap:Ethernet HWaddr 00:25:86:B0:BC:EB
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:875 (875.0 B) TX bytes:702 (702.0 B)
root@box:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
root@box:~# cat /opt/bootlocal.sh
#!/bin/sh
# put other system startup commands here
/opt/wlan0.sh &
/opt/eth0.sh &
root@box:~# /opt/wlan0.sh
udhcpc (v1.18.3) started
Sending discover...
Sending select for 192.168.0.2...
Lease of 192.168.0.2 obtained, lease time 259200
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.0.1
Running chrome, but default page of google is not found. Only when the entry /opt/eth0.sh & of bootlocal.sh is removed. I have the wireless connection again.
But comparing the two routes above the before route and the after route, I have notice the missing entry;
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
Thanks again.
Troy