Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-22-2010, 04:02 PM   #1
LQ Newbie
Registered: Apr 2005
Location: Bolton
Distribution: Debian Lenny
Posts: 1

Rep: Reputation: 0
ifup: couldn't read interfaces file "/etc/network/interfaces" debian lenny

I made a mistake and used Webmin to update packages on my Debian Lenny install and I'm now no longer able to connect to my router via eth0 or ath0 (using madwifi).

I get an error message at boot which states that it is unable to read /etc/network/interfaces:5: Unknown address type

I attempted to m-a a-i madwifi and this asked for the linx-headers which I've now reinstalled using the downloaded .deb file and have managed to get madwifi installed and the ath0 is now available but I can't get it to connect to the router which is using WPA-PSK. I don't know the commands as I'm slowly learning linux as I've been a lifelong Windows user (loving it so far).

My interfaces config for ath0 is as follows:-

auto lo
iface lo loopback

auto ath0
iface ath0 inet static

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

How do I get Debian to read the interfaces file and / or how do I manually connect to my router?

Thanks in advance
Old 08-24-2010, 04:47 PM   #2
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 93
Blog Entries: 12

Rep: Reputation: 26
Originally Posted by lorimer73 View Post
How do I get Debian to read the interfaces file and / or how do I manually connect to my router?
The error looks like from parsing the file, not physically reading it. I can see no errors in the part of your interfaces file you posted. Look for the error in logs, maybe there are some more detailed informations.

Usually the easiest way to connect is by cable and eth0. Can you connect a cable between your computer and router?
Let us know what you got from ifconfig and iwconfig command.


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
How do I specify "security mode: open" in /etc/network/interfaces? DittoAlex Debian 10 10-07-2007 11:17 PM
How do I specify "security mode: open" in /etc/network/interfaces? DittoAlex Linux - Wireless Networking 4 09-29-2007 03:11 PM
Debian can't read etc/network/interfaces file at boot up Tons of Fun Debian 7 07-01-2006 12:17 AM
ifup cant read network interfaces flebber Debian 3 03-13-2006 05:42 AM
"ifnet structure (regarding configured interfaces)header file in linux9?" deepender Programming 0 12-07-2003 01:11 AM

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration