public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] about wireless networking
@ 2008-10-22  3:53 Tom
  2008-10-22 13:20 ` Stroller
  0 siblings, 1 reply; 3+ messages in thread
From: Tom @ 2008-10-22  3:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]

/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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-23  0:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22  3:53 [gentoo-user] about wireless networking Tom
2008-10-22 13:20 ` Stroller
2008-10-23  0:54   ` Tom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox