Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw2200 connecting to a wireless ap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 630

PostPosted: Mon Aug 28, 2006 3:58 pm    Post subject: ipw2200 connecting to a wireless ap Reply with quote

Hi,
I've built a wireless ap using a slackware box(192.168.1.1), but not got dns or dhcp running on it yet. When I boot my laptop into windows I can ssh into the slackware box using putty by giving it an ip (192.168.1.2), a netmask (255.255.255.0) and a gateway (192.168.1.1). When I reboot my laptop into gentoo (yes this is eventually a gentoo question!) I try to bring up the interface using

Hawaiian ja # ifconfig eth1 up 192.168.1.2 netmask 255.255.255.0
Hawaiian ja # ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:66:BB:37
inet addr:192.168.7.23 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3304 errors:0 dropped:0 overruns:0 frame:0
TX packets:3709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2403583 (2.2 Mb) TX bytes:929899 (908.1 Kb)
Interrupt:6

eth1 Link encap:Ethernet HWaddr 00:0E:35:82:F5:EB
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:939 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x6000 Memory:d0214000-d0214fff

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:98 errors:0 dropped:0 overruns:0 frame:0
TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10852 (10.5 Kb) TX bytes:10852 (10.5 Kb)

it all seems good, I've added a route option;
Hawaiian ja # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.7.1 0.0.0.0 UG 0 0 0 eth0

I then try to bring the network up;
Hawaiian ja # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 unassociated ESSID:"HomeNet"
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

dummy0 no wireless extensions.

Hawaiian ja # iwconfig eth1 essid HomeNet
Hawaiian ja # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 unassociated ESSID:"HomeNet"
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

dummy0 no wireless extensions.


And it still doesn't want to associate. If you scan you see that it can clearly see the network, which was confirmed by kismet.

Hawaiian ja # iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
Cell 01 - Address: 06:0E:2E:90:50:EB
ESSID:"HomeNet"
Protocol:IEEE 802.11bg
Mode:Master
Channel:1
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=58/100 Signal level=-66 dBm
Extra: Last beacon: 1148ms ago

dummy0 Interface doesn't support scanning.

When you try and ping 192.168.1.1, you get this;
Hawaiian ja # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5019ms
, pipe 3

Right now I've run out of ideas, and it definitely seems to be a problem at the gentoo end. If you've got any ideas which would help, I would really appreciate it. I've a feeling though that it's the route command which is the problem, but not sure.

Thanks for any ideas!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 33306
Location: 56N 3W

PostPosted: Mon Aug 28, 2006 6:51 pm    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads.

OP posted twice
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum