LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2015, 02:53 PM   #1
cotarelo
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Rep: Reputation: Disabled
Question Activate wireless virtual interface with iw at boot time


Hello,

I want to use the same wireless interface to connect to wireless network and create an Access Point. I sucessfully did it using hostapd and dnsmasq using my wlan0 interface and a virtual interface that I created with :

iw phy phy0 interface add myAcc type __ap

and then configured through command line and everything went fine (I use a debian on an alix box with atheros)

I have no idea how to do this at boot time, if I add an interface to the /etc/network/interfaces it does not accept wireless commands like scanning, it behaves like a regular ethernet interface.

What am I doing wrong?
 
Old 06-25-2015, 02:54 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,473

Rep: Reputation: Disabled
Where to put such commands might depend on your distro; suggest you give us more info.
 
Old 06-28-2015, 12:53 PM   #3
cotarelo
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
The distribution is a voyage linux 0.10. It's a Debian minimal

Linux voyage 3.16.7-ckt9-voyage #1 i586 GNU/Linx
Version: 0.10.0 (Build Date 20150429)
 
Old 07-04-2015, 02:58 PM   #4
cotarelo
LQ Newbie
 
Registered: Jun 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
Where to put such commands might depend on your distro; suggest you give us more info.
I posted the info. I read that I should use udev rules. Is that right?
 
  


Reply


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
Need help on virtual interface eth0:1 disable at boot time ravibhure Linux - Newbie 4 02-11-2010 03:12 AM
How to activate wireless on boot????? immazza Linux - Wireless Networking 3 01-25-2008 05:44 AM
I have to re-activate my wireless card every time I start up Nathan1993 Ubuntu 4 05-09-2006 07:22 PM
activate DMA for disks at boot time mrosati Linux - Software 1 09-15-2005 07:04 AM
Why do I have to activate my NIC every time I boot? A6Quattro Linux - Hardware 14 07-08-2005 08:37 AM

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

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