LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2005, 01:05 AM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
making WiFi settings in /etc/network/interfaces permanent


Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
	address 192.168.2.50
	netmask 255.255.255.0
	network 192.168.2.1
	broadcast 192.168.2.255
	gateway 192.168.2.1

auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
	address 192.168.2.101
	netmask 255.255.255.0
	network 192.168.2.1
	broadcast 192.168.2.255
	gateway 192.168.2.1
how do i make that permanent and also how do i make it so the eth0 will not activate unless i start it? i want the wlan0 to be the main network connection not my eth0.

this is on a laptop if that matters.

Last edited by Lleb_KCir; 05-09-2005 at 02:10 PM.
 
Old 05-09-2005, 12:00 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
i thought that when using vim if you hit the ESC, then typed :wq it would save the data, then quit editing the file.

when i do that the settings are there, but when i reboot the settings are gone. also how do i make the essid and key restricted data for the wlan0 stick?

every reboot i have to ifconfig wlan0 essid XXXXX, and ifconfig key restricted XXXXX before it will connect and talk via my access point.

help please.
 
Old 05-10-2005, 10:57 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
well i looked at the /etc/pcmcia/wireless.conf and added my ESSID="ESSID" and KEY="XXXXXX" saved and rebooted to no effect.

when i ran iwconfig i still had the essid set to off/none and the key was not pressent. i had to enter the data by hand again.

what am i doing WRONG?
 
Old 05-10-2005, 11:22 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
still beggin for help...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
interfaces + wifi alaios Linux - Wireless Networking 1 09-26-2005 04:17 PM
making chmod permanent Beckerjr Linux - General 5 05-11-2005 12:08 PM
Making permanent screen geometry settings bjb123 Linux - Hardware 2 12-21-2003 04:40 PM
Making Changes Permanent T-u-N-i-X Linux - General 1 09-01-2003 05:47 AM
Making SMBMOUNT Permanent unclebyron Linux - General 2 01-31-2002 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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