LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-27-2004, 12:22 PM   #1
NLG
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2,9.1,9.0,8.2,8.1
Posts: 9

Rep: Reputation: 0
Network not working after upgrade 9.2 to 10 official


I am posting this from my 9.2 desktop machine. I have an IBM R50 laptop which I have been dual-booting XP and Mdk9.2 with for a couple of months now. The nic is the gigabit ethernet and worked fine under 9.2 right out of the box. When I did an upgrade to 10.0 official, everything else seems to work fine or even better except that I can't get the nic to work properly.

Things I have tried.
1. rebooting. sometimes, most of the time in fact, when booting the screen shows "OK" for everything until the eth0, then "Bringing up interface Eth0: [FAILED]" I checked MCC and it is set to start at boot. Even if I start it manually with "ifconfig eth0 up" I can't get to the net.
2. In MCC I removed the network connection and created a new one for eth0. DHCP is working as the laptop gets an IP and NetMask and the Gateway is correct. Also in MCC, the hardware shows up as ehternet and it has the correct e1000 module - which is correct as far as I know.
3. Typing "ifconfig" brings up the correct information(as compared to my working 9.2 machine). It shows both eth0 and lo. If I use "netstat -ie" it gives the following error... "error fetching interface information: Device not found" As I said, "ifconfig" shows the IP, NetMask, and MAC address and if I try "netstat -r" I get correct route info (as compared to my working pc). I can not fathom why ifconfig and MCC sees the hardware but netstat does not.
4. I tried not using Shorewall, I had it configured under 9.2, but that didn't change anything.

If I open the Opera browser and try to go to any site it returns the error "Network socket blocking", for which I have no clue as to its' meaning.

Can anyone give me some help sorting this out?
 
Old 06-03-2004, 09:54 AM   #2
NLG
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2,9.1,9.0,8.2,8.1
Posts: 9

Original Poster
Rep: Reputation: 0
Still need help

Wow. 40 views and nobody here has a suggestion? I also posted this on mandrakeusers.org, and have not gotten any help there either. So much for the vaunted linux-users support community. I would have thought I might at least get a "what is the output of the 'such-and-such' command from the command line?" type question.
I may just downgrade back to 9.2. This is not a very encouraging sign for Mandrake.
 
Old 06-03-2004, 10:20 AM   #3
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
Alright, let me take a stab it.
First of all "netstat -ie" by itself will always return an error because of the "-i" switch. You need to include the device name with it so it should look something like this: "netstat -ie eth0".

Try setting the IP address on the NIC manually by using ifconfig. it should look something like this "ifconfig eth0 inet 192.168.1.80 netmask 255.255.255.0 up" (just to make sure it works).
After that, perhaps, you need to add the default route "route add default gw 192.168.1.1" and make sure that your /etc/resolv.conf is listing the correct DNS servers. If it's not, add them (ie: nameserver 172.16.13.224)

It looks like your configuration got hosed during the upgrade. I'm not sure which file Mandrake keeps it's network interface information in sicne I'm new to the mdk distro myself. Anyone? ...Bueller? ...but you should be able to use " drakconf" to set it up.

The error message you get while eth0 is starting up has to do with hotplugging being enabled - it does not affect the way your NIC operates. You can disable hotplugging from drakconf as well.

I wouldn't give up on Mandrake because of this just yet. Post back and tell us how you made out with the above.
 
Old 06-10-2004, 09:19 PM   #4
NLG
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2,9.1,9.0,8.2,8.1
Posts: 9

Original Poster
Rep: Reputation: 0
Victory is mine!

I disabled hotplugging as suggested and now the eth0 always shows "OK" at boot. That didn't fix everything, so I perused /etc and noticed that my old hosts file was renamed hosts.mdkorig or something, so I fixed that and now I am typing this from my laptop.
Thanks to Ph0enix2003 for the tips and the encouragement.
I am a bit late replying back, but I wanted to make sure it would keep working after rebooting into XP and back first, and I had some other stuff to do.
I also seem to have my browser, Opera 7.23, is still giving me some of those wacky "network socket blocking" error popups about 1/4 of the time when I try to visit a site, so it may not be totally fixed.
The netstat -ie eth0 command still returns the same error as before, too.
 
Old 06-11-2004, 02:48 AM   #5
alainhenry
LQ Newbie
 
Registered: Jun 2004
Distribution: Ubuntu Mandrake
Posts: 18

Rep: Reputation: 0
I am stuck with the same problem (and others...) with Mandrake 10.
For info, there is a complete thread on the etho [failed] topic in alt.os.linux.mandrake.
 
Old 06-12-2004, 11:46 AM   #6
rubberist
LQ Newbie
 
Registered: Jun 2004
Location: London
Distribution: mandrake 2007
Posts: 1

Rep: Reputation: 0
Network socket blocked in Opera

Apparently this is related to the ipsec service. Turn this off from starting at boot time solves the problem. Because I'm a newbie to Linux myself though I don't know what other implications this has.....
 
Old 06-12-2004, 04:03 PM   #7
NLG
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2,9.1,9.0,8.2,8.1
Posts: 9

Original Poster
Rep: Reputation: 0
IPSEC

Yes, IPSEC. I have also seen a post indicating FreeSWAN does it too.
I no longer have the intermittent connection wackyness. YEA!
 
Old 06-13-2004, 08:49 AM   #8
barrys
Member
 
Registered: Sep 2003
Location: London
Distribution: Susi 9.1, Man10 amd64, Man10.1
Posts: 243

Rep: Reputation: 30
If your in man 10 it's easy.

System -configuration -control center- network&internet-newconnection-lanconnection
click on the listing of the eth0 device listed,
click next
click next next
it will say "newconnection and -specify your network chip- your device, click on next and then accept everything it should install
everything without problems.

(Should this not work for you then do it all again, but first do the remove device and delete
 
Old 06-13-2004, 11:40 AM   #9
NLG
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2,9.1,9.0,8.2,8.1
Posts: 9

Original Poster
Rep: Reputation: 0
things about the upgrade, misc. info

Actually, barrys, that didn't fix it - as I stated in my original post.
The problem was that IPSEC was starting at boot and interfering. I have also read that FreeSwan can do the same. The way to fix this problem is to set those services to not start at boot.

As an aside, I now have Shorewall up and running again and everything is working as it should. The upgrade also disabled the "tap-to-click" function of the synaptic's touchpad, but I never used it anyway - much prefer the point-stick and associated buttons.

My hosts file is a copy from everythingisnt.com, which blocks almost every ad server there is on the net - I have added only 3 more to it in 4 weeks. I really enjoy not seeing crappy blinking banner ads all the time. I never can recall clicking on any of the darn things, so no loss. I recommend installing this hosts file on any pc that goes to the internet, it is very simple.

Since I did an upgrade and not a clean install, I didn't have the mbr problem common to many installs which hoses the ability to dual boot back to windows. I have edited my lilo.conf(yes, I ran /sbin/lilo) to clean up some things though, since it gave me a huge menu of choices.
Also, it preserved my apm settings so I am still using apm instead of acpi. I know acpi is improved in this new kernel, but the apm support works fine for me so I kept it for now.
When I did the upgrade I also used the High-Mem support since I now have 1280MB of system RAM. I just love seeing the correct info in Gkrellm now. I recommend using Gkrellm to anyone who wants to have a good, configurable system monitor.
 
  


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
How to upgrade to Mandrake 10.1 official? Whiskers Mandriva 5 12-22-2004 05:29 PM
Mandrake Upgrade 10.1 Official Ronw Mandriva 1 12-01-2004 06:01 PM
Armada 7400 PCMCIA Network Card Not Working After Upgrade to 2.6.6 Chryzmo Slackware 8 09-15-2004 07:42 PM
Upgrade from Community to Official ? Warmaster Mandriva 15 05-24-2004 03:08 PM
Upgrade to !0.0 Official mrstirs Mandriva 7 04-28-2004 05:05 PM

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

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

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