i'm very new in wireless network & wanted to have share network between my workstation (windows XP) and laptop (arch linux). i'm using USB wireless network adapter attached to the workstation and the laptop shall share the window's network via this adapter. Anyone could assist me on this. I've install ipw2200 on my laptop & this is ipwconfig output :
eth1 unassociated ESSID:off/any Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00 Bit Rate=0 kb/s Tx-Power=20 dBm Retry limit:7 RTS thr:off Fragment thr: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
You need to set both boxes to ad-hoc mode. Managed mode is for networks based around an access point.
how to set ad-hoc mode on Arch?. For window is done. How to know the laptop is connected to the usb wireless network adapter?
Have you read the wiki pages on wireless setup? It's all there.
ok i've read the wiki and i managed to bring up my laptop(linux) wireless interface. Both are now in ad-hoc mode. Now how to share the network?
ok after done some searching at LinuxQuestions.org i'vemanaged to get it work. Breifly,
At Window PC
- Connect to broadband connection
- Open Network Connections -> right click at the broadband connection
- Click Advanced
- Tick at 'Allow other network users to connect through this computer's Internet connection.
- Network Connection -> Right Click at Wireless Network Connection -> Properties
- Click Advanced -> Jot down "Channel", "Network Type" -> set as "Ad-hoc" , SSID -> set any names e.g "MyEssid"
- Right click at Wireless connection -> Status -> Jot down IP add (normally assigned as 192.168.0.1)
At Linux PC
[root@myhost ~]# iwconfig eth1 mode Ad-hoc essid MyEssid channel 6
[root@myhost ~]# ifconfig eth1 192.168.0.3 netmask 255.255.255.0
[root@myhost ~]# route add 192.168.0.1 eth1
[root@myhost ~]# route add default gw 192.168.0.1
[root@myhost ~]$ ping www.google.com
PING www.l.google.com (220.127.116.11) 56(84) bytes of data.
64 bytes from 18.104.22.168: icmp_seq=1 ttl=244 time=196 ms
64 bytes from 22.214.171.124: icmp_seq=2 ttl=244 time=214 ms
Hope this will help others :-)