It sounds like you're nearly there and your commands look mostly
correct. A few suggestions and example commands
* You didn't mention what you set the ESSID to on the windows machine,
you might want to verify that it is the same as the Linux machine. There
are 3 settings that must match for the link to be successfully
established at the wireless layer. They are Mode, Channel and Essid, in
your case it seems that they should be set to Ad-Hoc, 6, "deb1" The
following commands would achieve this setup.
iwconfig eth1 mode Ad-Hoc
iwconfig eth1 channel 6
iwconfig eth1 essid "deb1"
* Once you are sure that the wireless layer is up correctly you can
configure the IP addresses. Your machine already has a default gateway
out sl0, so for now I would suggest that you don't try and setup a
default gw over the wireless. I would suggest you use the following
command to configure the laptop
ifconfig eth1 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255
At this point (assuming the windows machine is correctly setup) you
should be able to
from the linux machine and get some replies.
If you can't please reply with the output of the following commands
NOTE: It's important that you setup the interface in the following steps
1) Make sure the interface (eth1) is down
2) Execute the iwconfig commands
3) Execute the ifconfig command (will Add IP and bring interface up)
4) Perform tests
This order is crucial because the new network settings are not written
to the wireless card until you bring the interface up (via the ifconfig
On Thu, 2004-09-16 at 09:50, Bill Rosoman wrote:
How can you "see" the AP? (ie, how are you
Have you given it an IP address in the same subnet as
your network cards?
Wireless Ad-Hoc PC to Notepad
Usng PC Windows ME Zyxel USB Wlan
The wifi card's a Netgear WG511.
I have a Dell Notepad Inspiron 2650
running Mandrake 10 KDE 3.2
To get wlan up
Setup Windows PC using manual IP 192.168.0.1 mask
wifi Ad-Hoc chanel 6
Run USB Wifi
as SU (root)
alias eth1 prism54
ifconfig eth1 inet 192.168.0.5 netmask 255.255.255.0
route add default gw 192.168.0.1 netmask 255.255.255.0
iwconfig eth1 ESSID "deb1" mode ad-hoc channel 6
/etc/pcmcia/network start eth1
Have a strong connection between computers
But cannot access computers or internet
No IP address
No Ping etc
if I reboot using LAN everything OK (Samba, Internet)
netstat shows nothing active
ping 192.168.0.5 times out
ping 192.168.0.1 excellent
eth1 Scan completed :
NEW AP from accesspoint scan
essid.length 4 ESSID:"deb1"
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
+ Stopped ping 192.168.0.1
iwlist eth1 scanning
eth1 Scan completed :
Cell 01 - Address: 42:F5:A8:9E:54:CF
Quality:190/0 Signal level:-55
dBm Noise level:-245 dBm
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
10.0.0.3 * 255.255.255.255 UH
1 0 0 sl0
127.0.0.0 * 255.0.0.0 U
0 0 0 lo
default * 0.0.0.0 U
1 0 0 sl0
Does not show eth1?
eth1 Statistics collected:
00:00:00:00:28:C2 : Quality:0 Signal level:0
Link/Cell/AP : Quality:188/0 Signal
level:-53 dBm Noise level:-5 dBm (updated)
Typical/Reference : Quality:0/0 Signal level:-80
dBm Noise level:-256 dBm
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11b/g ESSID:"deb1"
Mode:Ad-Hoc Channel:6 Cell:
Bit Rate:11Mb/s Tx-Power=31 dBm
Retry min limit:8 RTS thr:2347 B
Fragment thr:2346 B
Link Quality:177/0 Signal level:-53 dBm
Noise level:-32 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx
Tx excessive retries:0 Invalid misc:0
sl0 ESSID:off/any Nickname:""
NWID:8 Channel:80 Access Point:
Tx-Power=-1073746380 dBm Sensitivity=8/0
Retry:on RTS thr=-1073746380 B Fragment
NB sl0 is my Modem
face |bytes packets errs drop fifo frame
compressed multicast|bytes packets errs drop fifo
colls carrier compressed
lo: 24920 364 0 0 0 0
0 0 24920 364 0 0 0 0
eth0: 0 0 0 0 0 0
0 0 0 0 0 0 0 0
eth1: 0 0 0 0 0 0
0 0 4082 31 0 0 0 0
sl0: 0 0 0 0 0 0
0 0 9990 121 0 0 0 0
Sending ARP packets to
So now I have a couple of issues.
Do you Yahoo!?
Declare Yourself - Register online to vote today!
wlug mailing list | wlug(a)list.waikato.ac.nz
GSM: +64 21 611 544