LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Linux Wireless Network Config - Routing Problem? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/linux-wireless-network-config-routing-problem-343574/)

xprezons 07-15-2005 05:22 PM

Linux Wireless Network Config - Routing Problem?
 
Hi,

I have setup the latest ATMEL Linux driver for the wireless dongle on an old P3 that has served me well. But am unable to ping my Wind0ze laptop from the P3 or vice-versa. The wireless device keeps scanning of and on without latching on to the Ad-Hoc network. (Addon Wireless USB Dongle purchased from Maplin.. came with ATMEL drivers) Would appreciate any help on this.I have given the details below:

Cheers,
Xprezons.

I downloaded the Linux drivers from (t76c503a.berlios.de), compiled and installed it.
Turned the Ethernet interface eth0 off (Saw a note in a website that Linux may identify that as the first interface.

I would like to put an Ad-Hoc network (Wind0ze=169.254.169.254, Linux 169.254.169.240) Windoze serving as the gateway. How should I be routing?

/etc/sysconfig/network-scripts/ifcfg-wlan0
-------------------------------------------------------
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=static
BROADCAST=169.254.255.255
HWADDR=00:0D:2F:00:E4:02
IPADDR=169.254.169.240
NETMASK=255.255.0.0
NETWORK=169.254.0.0
# Indicates wireless NIC
TYPE=Wireless
# Indicates Wireless Mode
MODE=Ad-Hoc
# ESSID
ESSID=myessid
USERCTL=no
PEERDNS=yes
GATEWAY=169.254.169.254

ifconfig output
-------------------

eth0 Link encap:Ethernet HWaddr <<hidden>>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:19 dropped:0 overruns:0 carrier:38
collisions:323 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1731 (1.6 KiB)
Interrupt:5 Base address:0xac00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2599 errors:0 dropped:0 overruns:0 frame:0
TX packets:2599 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3451589 (3.2 MiB) TX bytes:3451589 (3.2 MiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:<<hidden>> P-t-P:<<hidden>> Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1450 Metric:1
RX packets:1227 errors:0 dropped:0 overruns:0 frame:0
TX packets:1245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:718998 (702.1 KiB) TX bytes:168347 (164.4 KiB)

wlan0 Link encap:Ethernet HWaddr <<hidden>>
UP BROADCAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3762 (3.6 KiB) TX bytes:210 (210.0 b)

iwlist output
----------------
wlan0 Scan completed :
Cell 01 - Address: 00:0A:EB:CF:59:A6
ESSID:"anotheressid"
Mode:Master
Channel:6
Encryption key:off
Quality:0/0 Signal level:18/255 Noise level:0/0
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Cell 02 - Address: 02:0C:F1:B5:BB:11
ESSID:"myessid"
Mode:Ad-Hoc
Channel:11
Encryption key:off
Quality:0/0 Signal level:48/255 Noise level:0/0
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s

Hangdog42 07-17-2005 10:22 AM

Quote:

wlan0 Link encap:Ethernet HWaddr <<hidden>>
UP BROADCAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3762 (3.6 KiB) TX bytes:210 (210.0 b)
Well, we can't tell if there is a routing issue because your wireless card doesn't have an IP address. Rather than messing around with your config script, I'd try to set the card up by hand using iwconfig and see if you can get any errors.


All times are GMT -5. The time now is 01:20 AM.