public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tom <tommy.fang@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] about wireless networking
Date: Wed, 22 Oct 2008 11:53:06 +0800	[thread overview]
Message-ID: <48FEA3A2.1000108@gmail.com> (raw)

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

             reply	other threads:[~2008-10-22  3:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22  3:53 Tom [this message]
2008-10-22 13:20 ` [gentoo-user] about wireless networking Stroller
2008-10-23  0:54   ` Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FEA3A2.1000108@gmail.com \
    --to=tommy.fang@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox