* [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
* Re: [gentoo-user] about wireless networking
2008-10-22 3:53 [gentoo-user] about wireless networking Tom
@ 2008-10-22 13:20 ` Stroller
2008-10-23 0:54 ` Tom
0 siblings, 1 reply; 3+ messages in thread
From: Stroller @ 2008-10-22 13:20 UTC (permalink / raw
To: gentoo-user
On 22 Oct 2008, at 04:53, Tom wrote:
> /etc/conf.d/net settings
> #Wireless with WPA_SUPPLICANT
> modules=("wpa_supplicant")
> ...
>
> 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
What does `ifconfig eth1` say?
What about `wpa_cli` -> `status`?
Stroller.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] about wireless networking
2008-10-22 13:20 ` Stroller
@ 2008-10-23 0:54 ` Tom
0 siblings, 0 replies; 3+ messages in thread
From: Tom @ 2008-10-23 0:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]
Stroller wrote:
>
> On 22 Oct 2008, at 04:53, Tom wrote:
>> /etc/conf.d/net settings
>> #Wireless with WPA_SUPPLICANT
>> modules=("wpa_supplicant")
>> ...
>>
>> 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
> What does `ifconfig eth1` say?
> What about `wpa_cli` -> `status`?
>
> Stroller.
smiler tom # ifconfig
eth1 Link encap:Ethernet HWaddr 00:0c:f1:5f:37:92
inet addr:192.168.2.119 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:169 dropped:169 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:72 (72.0 B)
Interrupt:11 Base address:0xa000 Memory:c0200000-c0200fff
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: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)
smiler tom # wpa_cli status
Selected interface 'eth1'
bssid=00:21:27:34:a1:1e
ssid=TP-LINK
id=0
pairwise_cipher=WEP-104
group_cipher=WEP-104
key_mgmt=NONE
wpa_state=COMPLETED
ip_address=192.168.2.119
--
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