LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2005, 01:59 PM   #1
kjeldsen
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Ad-Hoc with Ubuntu and XP problem


I'm having problems making an ad-hoc network between a laptop running
Ubuntu (Hoary) and a stationary PC running Windows XP. The Windows computer
has a SkyR@cer 11 mb/s NIC and the laptop has a D-Link DWL-G650 AirPlus pcmcia
card. When booting into Windows XP on the laptop, the ad-hoc network works fine
with Internet Connection Sharing.
When using Ubuntu, there seems to be some kind of problem though. There seems
to be an ok link between the two NICs (see print from iwconfig below), but none of
the computers can ping each other.
The laptop connects fine to my router over a normal wireD network (eth0), and I
have tried turning it off with 'ifdown eth0' to make sure it didn't interfere
with the wireless connection. I have pasted the output from iwconfig, ifconfig
and /etc/network/interfaces below.
Any help is greatly appreciated

---------------------------------------------------------------------------
From /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.0.0.10
netmask 255.255.255.0
gateway 10.0.0.1

auto ath0
iface ath0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1


pre-up /sbin/iwconfig ath0 essid "nbg" mode ad-hoc rate auto enc off

mapping hotplug
script grep
map eth0
map ath0




From iwconfig ath0:
--------------------------------------------------------------
ath0 IEEE 802.11b ESSID:"nbg"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:0F:3D:87:5F:81
Bit Rate:0 kb/s Tx-Power:50 dBm Sensitivity=0/3
Retryff RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=41/94 Signal level=-54 dBm Noise level=-95 dBm
Rx invalid nwid:308 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:146 Missed beacon:0
--------------------------------------------------------------
From ifconfig ath0:

ath0 Link encap:Ethernet HWaddr 00:0F:3D:87:5F:81
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:3dff:fe87:5f81/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:7245 dropped:0 overruns:0 frame:7245
TX packets:196 errors:146 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:0 (0.0 b) TX bytes:16772 (16.3 KiB)
Interrupt:16 Memory:ccac0000-ccad0000
 
Old 04-05-2005, 10:00 AM   #2
kjeldsen
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Problem solved. It helped to simply change the wireless channel to 9 instead of 1. Exactly why this helped I don't know, but now it just works



Last edited by kjeldsen; 04-07-2005 at 10:52 AM.
 
  


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
problem with wireless ad-hoc network creation on Mandrake 9.2... superczar Linux - Wireless Networking 0 08-05-2005 01:30 AM
ad-hoc in Linux. How? dimgr Linux - Wireless Networking 1 04-13-2005 12:23 PM
More than two adapters using ad-hoc andrewjjones Linux - Wireless Networking 5 10-20-2004 04:29 PM
Fedora Core 2 With Wireless Ad-hoc ~~ Wep Problem Deiota Linux - Wireless Networking 1 10-15-2004 01:00 PM
Dell trumobile 1350 ad-hoc mode problem! minal1 Linux - Wireless Networking 0 09-03-2004 10:32 AM

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

All times are GMT -5. The time now is 05:42 PM.

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