FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-22-2008, 03:53 AM
Tom
 
Default about wireless networking

/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
---------------------------------------------------------
 
Old 10-22-2008, 01:20 PM
Stroller
 
Default about wireless networking

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.
 
Old 10-23-2008, 12:54 AM
Tom
 
Default about wireless networking

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
---------------------------------------------------------
 

Thread Tools




All times are GMT. The time now is 05:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org