LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-30-2009, 11:31 AM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Rep: Reputation: 41
ifconfig shows only lo (after Hardy -> Jaunty + KDE 3.5 upgrade)


As a result of mishaps (failed dependencies and such) during an upgrade, I am now in a situation where ifconfig shows only lo. No eth0, no wlan0 (on a laptop running wireless). I've installed wicd (not easy when you don't have a net connection) but when I start it, it gives a "failed" message.

Before the upgrade, my wireless was working fine. It still works fine in my Windows partition.

I could go through the history of how I got here, but it probably isn't very relevant to solving the problem I now have. I assume I need to reconstruct some network-related files in /etc -- but which ones? And what should I put in them?

Once I've gotten eth0 and wlan0 back, I assume my next step should be to try wicd again.
 
Old 04-30-2009, 08:16 PM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
What does "ifconfig -a" show?
 
Old 04-30-2009, 11:34 PM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
ifconfig -a

Quote:
Originally Posted by TimothyEBaldwin View Post
What does "ifconfig -a" show?
ifconfig -a includes entries for pan0 and vboxnet0, but still nothing for eth0, ath0, wlan0, or anything like that.
 
Old 05-01-2009, 08:15 AM   #4
vargstein
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by pwabrahams View Post
ifconfig -a includes entries for pan0 and vboxnet0, but still nothing for eth0, ath0, wlan0, or anything like that.
are you sure you have the driver installed? what card do you have?

download linux:
Code:
wget http://kernel.org/pub/linux/kernel/v2.6/linux-$(uname -r).tar.bz2
and bunzip and untar it, the execute

Code:
make menuconfig
then go to device drivers

then network device

and try to find it, and select it as a module (type "m" when selected), you can also press "?" to get info on the selected thing, the look for something like this: "if you compile this as a module, choose M here, the module will be called <name of the module>"

then pres escape until you get out and remeber to save the config

then execute:

Code:
make modules && make modules_install && modprobe <name of the module>
hope that helps
 
Old 05-01-2009, 11:11 AM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Probably dumb questions here, but did you do
Code:
$ ifconfig eth0 up
or 
$ /etc/init.d/networking restart
 
Old 05-01-2009, 01:21 PM   #6
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
ifconfig

Quote:
Originally Posted by john test View Post
Probably dumb questions here, but did you do
Code:
$ ifconfig eth0 up
or 
$ /etc/init.d/networking restart
I tried both of those. The effect was to create an eth0 item in the ifconfig list, but no connection. And the item did not survive a reboot.

ifconfig wlan0 up did nothing except to produce an error message.
 
Old 05-02-2009, 06:12 PM   #7
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
If it came up then you probably have a good driver.
which command brought it up?
What was the IP address and default gateway after it came up?
can you bring it back up and then do
Code:
 $ ifconfig eth0
and post the results back here in your thread?
Also if you can see the IP and the default gateway try to ping them to see if you have any connectivity and post short versions of those ping tests here
 
Old 05-02-2009, 09:17 PM   #8
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
Got wired connection back, but not wireless

I got the wired connection back by inserting an entry for eth0 in /etc/network/interfaces. However, I've had no such luck with the wireless connection. I inserted an entry for ath0 in that same table and even added ath0_pci to the list of modules in /etc/modules, but still can't get the connection working. I'm about ready to save my home directory, ditch the existing installation, and install the KDE 3.5 version of Jaunty from the beginning.
 
  


Reply

Tags
wireless


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
LXer: How To Upgrade Ubuntu 8.10 (Intrepid Ibex) To 9.04 (Jaunty Jackalope) (Desktop LXer Syndicated Linux News 0 04-27-2009 10:50 AM
LXer: How to Upgrade Ubuntu 8.10 (Intrepid) to Ubuntu 9.04 (Jaunty) LXer Syndicated Linux News 0 04-24-2009 04:41 PM
new to linux based O.S. -- difference between Ubuntu gutsy, hardy, intrepid, jaunty poiesis Ubuntu 6 04-07-2009 07:29 AM
LXer: Upgrade Ubuntu 8.10 (Intrepid) to Ubuntu 9.04 (Jaunty) Beta LXer Syndicated Linux News 0 03-30-2009 05:30 AM
LXer: Sound Solutions for Hardy,Intrepid and Jaunty Jackalope Users LXer Syndicated Linux News 0 03-16-2009 09:20 AM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
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