LinuxQuestions.org
Help answer threads with 0 replies.
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 01-26-2005, 02:20 PM   #1
Raftysworld
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Rep: Reputation: 0
Ad-Hoc Network using ndiswrapper


Hey all,

I took the plunge into mandrake 10.1 last night, and it's my first venture into Linux so bear with me! You're working with a real n00b here. I found ndiswrapper, loaded it onto my linux box, installed the drivers for my adaptered, and it seemed to work good. ndiswrapper -l yields my driver, saying drivers found and hardware found. In the system tray, it says that I am connected to wlan0. I've set my IP to 192.168.0.4, subnet 255.255.255.0, and gateway to 192.168.0.1 (ad hoc network host). DNS is also set to 192.168.0.1. Unfortunately, not only do i not have an internet connection, but i can not ping 192.168.0.1, or anything else for that matter. iwconfig yields the following:

wlan0 Link encap:Ethernet HWaddr 00:0F:66:6D:57D
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:66ff:fe6d:57dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Memory:ff9fe000-ff9fffff

Any help is greatly appreciated,

Eric
 
Old 01-26-2005, 04:41 PM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Are you sure that's an iwconfig output? It looks more like an ifconfig. Post up an iwconfig and that might help a bit more - the above statement looks fine so far.
Regards
Chris

Oh yeah, Welcome to Linux and LinuxQuestions!
 
Old 01-26-2005, 05:20 PM   #3
Raftysworld
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the welcome! And you're right, I had my commands mixed up. Here is the iwconfig output, which seems to show that there is indeed some problems...

eth1 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any Nickname:"ERICHARE"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-32 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:8 Missed beacon:0

Last edited by Raftysworld; 01-26-2005 at 05:21 PM.
 
Old 01-26-2005, 05:23 PM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Yes, you'd be right. Your mode is set however your ssid is not. Once your card associates with your network it will fill in the the "Cell" area which is basically the MAC address of the card it will connect to. If you type
iwconfig wlan0 essid <the name of your ad-hoc network here>
what does it do?
 
Old 02-12-2005, 07:17 PM   #5
piampri
LQ Newbie
 
Registered: Feb 2005
Location: Canada
Posts: 13

Rep: Reputation: 0
Unhappy Can't get computers to work in Ad-Hoc mode

Hello,

I have two laptops - one is running Fedora Core 3 and the other Debian. The laptop with Fedora is using the Netgear W511 network card and the Debian laptop is using the Intel Pro 2200 wireless network card.

1.I can't seem to get the cards to communicate in Ad-Hoc mode.

2. The laptop running Fedora, does not allow for changes to the wireless configurations using iwconfig very easily. If the ESSID is changed, the change doesn't take effect immediately. On issuing the following command :

iwconfig eth2 commit

the result is that a screen saying that "no wireless extensions" is presented for the device

Help !!! What could be wrong ?
 
  


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
Ad-Hoc Linux to Windows Network Mr_C Linux - Wireless Networking 11 03-02-2011 07:46 AM
linux ad hoc network with WMM: question elisewin Linux - Wireless Networking 0 11-30-2005 03:31 AM
How to interconnect an ad-hoc network with an infrastructure network tonydeb Linux - Wireless Networking 3 08-08-2005 02:42 PM
Ad-Hoc with WMP54GS and ndiswrapper? wedesoft Linux - Wireless Networking 0 01-24-2005 11:39 AM
Internet sharing on ad-hoc network MikeSmith36 Linux - Wireless Networking 1 02-22-2004 10:48 AM

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

All times are GMT -5. The time now is 03:44 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