LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-15-2005, 05:22 PM   #1
xprezons
LQ Newbie
 
Registered: Jul 2005
Location: UK
Posts: 4

Rep: Reputation: 0
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 keyff
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 keyff
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

Last edited by xprezons; 07-16-2005 at 03:32 PM.
 
Old 07-17-2005, 10:22 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Almost there (I think) wireless network config question. pete1234 Linux - Wireless Networking 6 05-24-2005 09:10 AM
RH9 Network/Wireless Config sfa88 Linux - Wireless Networking 0 04-12-2004 04:07 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM
wireless routing problem nostrings Linux - Wireless Networking 2 12-01-2002 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration