LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-18-2005, 08:37 PM   #1
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
Debian can't read etc/network/interfaces file at boot up


I just installed a netgear WG-311T 802.11G wifi card using the madwifi drivers. Once the card is setup, it works great. If I reboot the machine, I have to setup the card again. Once I do, the card works great again.
I watched during boot up, and debian cannot read the /etc/network/interfaces card. I added the info to that file, but if Debian can't read it, it's no good.
What can I do to see why Debian can't read that file? I have no idea what to look at to see why. Also, if I can't get that working, what else can I do to get the card to setup during bootup. Is there a way to add a cron job? I am using DHCP and WEP.

Any help is greatly appreciated.

Thanks!

 
Old 05-18-2005, 08:45 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Post your /etc/network/interfaces file (comment out anything like ip numbers etc). Could also be a problem with modules loading too late.

Cheers,

mj
 
Old 05-18-2005, 09:18 PM   #3
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
Also paste:
$ ls -l /etc/network/interfaces
 
Old 05-19-2005, 11:41 AM   #4
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Original Poster
Rep: Reputation: 37
OK, my interfaces file is as follows:

neuromancer:~#cat /etc/network/interfaces
#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
name Ethernet LAN card

auto eth1
iface eth1 inet dhcp
name Wireless LAN card
Wireless_essid xxxxxxxx (I commented the essid out)

auto eth1
neuromancer:~# ls -l /etc/network/interfaces
-rw-r--r-- root rppt 381 2005-05-18 18:53 /etc/network/interfaces

neuromancer:~#


I hope this helps, we are already beyond my capabilities.

Thanks,



 
Old 05-19-2005, 07:55 PM   #5
phats_O
Member
 
Registered: Apr 2005
Distribution: debian
Posts: 38

Rep: Reputation: 15
I had a similar problem because Debian was looking in /etc/sysconfig/network/
You could just copy your file there, to see if this is what is happening to you. If its not, I wish you the best of luck, but I don't know enough to help you more, sorry.
 
Old 05-19-2005, 08:24 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,906
Blog Entries: 29

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Wireless Howto
http://www.tldp.org/HOWTO/Wireless-HOWTO.html


"For Wi-Fi interfaces the iwconfig program which comes in the wireless-tools package is used in addition to either ifconfig or ip."
http://www.es.debian.org/doc/manuals...tml#s-low-wifi

Debian reference is not a lot of help the one entry it has about Wi-Fi is
"10.2.3 Configuring a Wi-Fi interface
For Wi-Fi interfaces the iwconfig program which comes in the wireless-tools package is used in addition to either ifconfig or ip."

See iwconfig(8).
manpage:"iwconfig - configure a wireless network interface"
http://gd.tuwien.ac.at/linuxcommand....iwconfig8.html


Do you have the wireless-tools installed?
"wireless-tools (23-2) Tools for manipulating Linux Wireless Extensions
This package contains the Wireless tools, used to manipulate the Linux Wireless Extensions. The Wireless Extension is an interface allowing you to set Wireless LAN specific parameters and get the specific stats."
http://packages.debian.org/stable/net/wireless-tools
 
Old 05-19-2005, 08:54 PM   #7
phats_O
Member
 
Registered: Apr 2005
Distribution: debian
Posts: 38

Rep: Reputation: 15
http://www.linuxquestions.org/questi...hreadid=321217

That is a link to a thread about a linksys wireless card, but it explains how I have my wireless set up to run. My ifcfg** file is loaded at boot, then I run a simple script after I login, to set the iwconfig and iwpriv settings. My script is for a static IP, you would want to change the relevant parts for dhcp. Follow the link above to see the script and ifcfg** file.

If there is an easier way to do this, I'd be happy to hear about it.
 
Old 07-01-2006, 12:17 AM   #8
tushar keer
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
i am using a broad band connection having ip add 192.168.1.2
 
  


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 file romel Debian 9 03-02-2017 03:15 AM
What file does debian use for configuring network interfaces? Royle Debian 2 02-10-2005 05:43 PM
boot w/ iso file being read off HD b3nj4m1n1254 Linux - Newbie 5 05-09-2004 10:08 PM
Example needed of a Debian -interfaces file with wireless settings slewis1972 Linux - Wireless Networking 2 09-14-2003 03:44 PM
problem with network interfaces during boot time kylnas Linux - Hardware 3 08-15-2003 08:32 AM

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

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