LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-19-2012, 12:22 PM   #1
wifi2012
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Bring up and bring don wifi


Hi,

I have few queries in linux wrt wifi network:
1.Where do I find the wireless configuration file in linux machine i,e details of my prefered wifi access point.(File which has ESSID,password,MAC address)
2.When i disable the connections on my machine and when I enable the wirelss connectivity , the machine should not connect to the prefered access point
instead of that I should be able to connect to AP from the list of Access points.
3.are there any linux commands to stop and start wifi interface

Thanks in advance
 
Old 12-20-2012, 10:33 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,871

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Quote:
1.Where do I find the wireless configuration file in linux machine i,e details of my prefered wifi access point.(File which has ESSID,password,MAC address)
This is a very distro specific question, or said another way, it is different on many distros. It also varies with what gui tools may be in use in the system; Network Manager, WICD etc. If you need a more specific answer on this, you need to post the distro version and release with your question.

Quote:
2.When i disable the connections on my machine and when I enable the wirelss connectivity , the machine should not connect to the prefered access point
instead of that I should be able to connect to AP from the list of Access points.
What you describe is normal operation, and the way most users would want their wireless interface to work. Not sure where you got the idea this should not be the case.

Quote:
3.are there any linux commands to stop and start wifi interface
Yes. The commands would be 'ifconfig wlan0 up' to activate an interface called wlan0 and 'ifconfig wlan0 down' to deactivate the same interface. You probably need root privileges on most systems to activate or deactivate an interface.

'ifconfig' by it self will list all configured interfaces, and give you the names of each interface. ( all commands without quotes ).
 
Old 12-20-2012, 01:16 PM   #3
wifi2012
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
This is a very distro specific question, or said another way, it is different on many distros. It also varies with what gui tools may be in use in the system; Network Manager, WICD etc. If you need a more specific answer on this, you need to post the distro version and release with your question.

I used dmesg | head -10 and cat /proc/version command to get the version as following:-
Is this correct?,as I am fresher to linux environment

Linux version 3.2.0-32-generic-pae (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012


What you describe is normal operation, and the way most users would want their wireless interface to work. Not sure where you got the idea this should not be the case.

I am trying to connect to the access point of my choice. The problem I am facing on my laptop is that it is connecting to the default AP as soon as I switch on my laptop wireless. Instead of that I want to connect to the AP of my choice(when I switch on the Wireless) but not the default one.(Not the saved connection or prefered connection)


Yes. The commands would be 'ifconfig wlan0 up' to activate an interface called wlan0 and 'ifconfig wlan0 down' to deactivate the same interface. You probably need root privileges on most systems to activate or deactivate an interface.

'ifconfig' by it self will list all configured interfaces, and give you the names of each interface. ( all commands without quotes ).

Here when I do ifconfig wlan0 up ..my laptop is directly connecting to the default AP (Which is in my preferd list).
I do not want this to happen. When I do "ifconfig wlan0 up" ..My machine should not connect to default or prefered AP. Instead of that I should be able to choose to which AP i want to connect.


Thank you
 
Old 12-20-2012, 02:54 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,871

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
What network manager are you using? What distro?

If you were using WICD, there is a check box that controls the 'default' connection. You can set it for no default, it will not connect. Then you can choose the AP you want. I do not know if Network Manager can do the same thing.
 
  


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
Can't bring up console vulgrin Ubuntu 1 01-10-2007 11:01 AM
Cannot bring up Eth0 jamespetts Linux - Networking 7 08-03-2004 06:42 AM
bring up eth1 alaios Red Hat 1 06-06-2004 01:33 AM
Bring Up the name daemon joseph Linux - Software 1 10-05-2003 02:59 AM
bring it all together....with samba tdnik Linux - Networking 8 12-30-2001 08:54 PM


All times are GMT -5. The time now is 08:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration