/etc/conf.d/net settings
#Wireless with WPA_SUPPLICANT
modules=("wpa_supplicant")
wpa_supplicant_eth1=("-Dwext")
config_eth1=("192.168.2.119 netmask 255.255.255.0")
routes_eth1=("default via 192.168.2.1")
#dns_servers_eth1=("192.168.2.1")

/etc/wpa_supplicant/wpa_supplicant.conf settings
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="TP-LINK"
key_mgmt=NONE
wep_key0="XXXXXXXXXXX"
# wep_key1="1234567890123"
# wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
# auth_alg=SHARED
}

wireless net card eth1 start normaly
smiler tom # /etc/init.d/net.eth1 restart
* Caching service dependencies ... [ ok ]
* Stopping eth1
* Bringing down eth1
* Shutting down eth1 ... [ ok ]
* Stopping wpa_cli on eth1 ... [ ok ]
* Stopping wpa_supplicant on eth1 ... [ ok ]
* Starting eth1
* Starting wpa_supplicant on eth1 ... [ ok ]
* Starting wpa_cli on eth1 ... [ ok ]
* Backgrounding ...

connetion status in the router is conneted

smiler tom # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 2000 0 0 eth1

but ping command result
smiler tom # ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.119 icmp_seq=3 Destination Host Unreachable
From 192.168.2.119 icmp_seq=4 Destination Host Unreachable
From 192.168.2.119 icmp_seq=7 Destination Host Unreachable

whats wrong?
thx

-- 
Best regards,
Sincerely,
Tom

One for all, all for one

---------------------------------------------------------
 ,= ,-_-. =.     GnuPG Key: 0x3C066597
((_/)o o(\_))   Key Server: pgp.mit.edu
 `-'(. .)`-'     IM: gTalk: tommy.fang at gmail dot com
     \_/               MSN: tommy.fang at hotmail dot com
---------------------------------------------------------


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to