LinuxQuestions.org
Review your favorite Linux distribution.
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 09-14-2007, 04:23 PM   #1
Geneset
Member
 
Registered: Jan 2007
Location: Athlone, ROI
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75

Rep: Reputation: 16
Question Wlan0 failing master mode


I cant get my interface to go into master mode on my ubuntu system to be used as a router and is throwing out strange errors. This is the results of ifup wlan0

wlanctl-ng: Operation not supported
Failed to enable the device, exitcode= 1 .
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
RTNETLINK answers: File exists
run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2


this is the relevant secion of my networks/interfaces file

iface wlan0 inet static
address 172.16.2.1
netmask 255.255.255.0
wireless-mode master
wireless-essid IndiaSt

relevent lspci
02:01.0 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette]/ISL3886 [Prism Javelin/Prism Xbow] (rev 01)

Any help or advice would be fantastic, this has been bugging me all week.
 
Old 09-16-2007, 09:33 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Does it work as a client or as an Ad-Hoc mode? Many WiFi cards just refuse to be in Master mode (or at least no firmware that supports this mode is widely known). But I have some successful experience of using and Ad-Hoc node as a router. So, try Ad-Hoc + dhclient + netfilter NAT.
 
Old 09-17-2007, 06:09 AM   #3
Geneset
Member
 
Registered: Jan 2007
Location: Athlone, ROI
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75

Original Poster
Rep: Reputation: 16
doing either ad-hoc or master with iwconfig gives

SIOCSIFFLAGS: Operation not permitted
when the interface is ifupped.
 
Old 09-17-2007, 06:32 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,354

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Sudo required maybe ???.
 
Old 09-18-2007, 07:31 AM   #5
Geneset
Member
 
Registered: Jan 2007
Location: Athlone, ROI
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75

Original Poster
Rep: Reputation: 16
sudo -s 'ed in when i started doing any work on the system setup.
 
Old 09-18-2007, 11:48 AM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Maybe you could try ndiswrapper?
 
  


Reply

Tags
ap, master, prism, ubuntu, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
modprobe ndiswrapper failing to create wlan0 Eric_T Linux - Wireless Networking 10 07-13-2006 05:32 AM
Cannot use b/g channels in master mode. Swope Linux - Wireless Networking 0 04-25-2006 02:14 PM
Master mode on one NIC and Managed mode on the other ilan1 Linux - Networking 0 02-22-2006 08:02 PM
Can't `iwconfig wlan0 mode master` michaelsanford Linux - Wireless Networking 3 05-05-2005 09:24 PM
Master Mode Cards Trano Linux - Wireless Networking 1 04-26-2005 03:56 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration