LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-03-2005, 03:31 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
save iwpriv settings at the startup


hi

I've installed wlan card WG311T from Netgear on Sarge according to this manual:

http://madwifi.sourceforge.net/dokuwiki/doku.php


my /etc/network/interfaces looks like:
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

# wg311t wireless card (new primary card)
auto ath0
iface ath0 inet dhcp
wireless-essid  MYESSID
wireless-channel auto
wireless-key MYSECRETKEY
it works, but I have only one problem, after restart I must do following:
Code:
iwpriv ath0 authmode 2
otherwise my wlan card is not working.


I've tried to put the following entry in /etc/network/interfaces:

iwpriv authmode 2

or

iwpriv_authmode 2


but it doesn't work.

knows someone any solution ?

Last edited by cccc; 08-03-2005 at 05:29 PM.
 
Old 08-03-2005, 03:44 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
what if you actually put iwpriv ath0 authmode 2 into the file??
 
Old 08-03-2005, 05:29 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
I've tried but still doesn't work.
 
Old 08-03-2005, 05:45 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 63
Not a sarge user but giving a thought to this. The few distros I have used there are files called ifcfg-eth*. Now in Redhat/FC* they are in /etc/sysconfig/network-scripts. They contain the config info like IP, netmask, and so on. You can add that line to that file and it is read when I do a ' ifdown eth0 ' then an ' ifup eth0 '. Maybe someone can point you to where this or a similiar file exist in Sarge.

Good luck
Brian1
 
Old 08-03-2005, 06:59 PM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
I solved the problem with this entry:
Code:
up /sbin/iwpriv ath0 authmode 2
in /etc/network/interfaces

greetings
cccc
 
  


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
/etc/network/interfaces angel115 Linux - Networking 1 10-23-2005 04:29 AM
Two Interfaces on the same Network cspcom Linux - Newbie 6 06-18-2005 04:32 PM
Network Interfaces aussben Linux - Wireless Networking 3 12-18-2004 02:35 AM
need help with /etc/network/interfaces littlemidget Linux - Networking 1 08-04-2004 07:00 PM
samba: interfaces entry viper1024768 Linux - Networking 2 12-19-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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