Solved: Ubuntu 9.10 does not see my LAN

Since this issue gave me quite a headache over the weekend, and since I eventually solved it, I decided to share the solution on my blog to avoid that someone else may waste time as I did.

First of all, the environment: a laptop with Ubuntu 9.10 that can be connected by wire or wireless to a home LAN. The LAN is connected to the web by an ADSL router. Second, the problem: after an update the laptop could not connect anymore to the LAN. eth0 and eth1 were detected but no activity was possible: ping, connect, web browsing… I spent a lot of time on fora and at the end I solved the problem by using hints available in different places. Here is the result. Please, note that since there was no way to see the LAN I had to install packages directly from an USB flash drive.

STEP 1: uninstall the network manager

sudo apt-get remove --purge wicd network-manager network-manager-gnome
sudo update-rc.d NetworkManager remove
sudo apt-get autoremove

STEP 2: install wicd from flash drive

sudo dpkg -i wicd_1.5.9-2_all.deb

STEP 3: flush and recreate IP tables

sudo iptables -F
sudo iptables -X
sudo iptables -t nat -F
sudo iptables -t nat -X
sudo iptables -t mangle -F
sudo iptables -t mangle -X
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT

STEP 4: activate the firewall

sudo ufw enable

Now the laptop can see the network, ping ip addresses, connect to servers, access Windows shares, browse the web. Note that I used the Uncomplicated Firewall ufw rather than Firestarter or GuardDog since it is easy to configure and gives no troubles.

Comments (2) to «Solved: Ubuntu 9.10 does not see my LAN»

  1. utente anonimo says:

    Come si fa per fare il backup prima di installare i nuovi files e rimuovere i vecchi files ?

No trackbacks or pingbacks to «Solved: Ubuntu 9.10 does not see my LAN»

Please use Facebook only for brief comments.
For longer comments you should use the text area at the bottom of the page.

Facebook Comments

Leave a Reply

In compliance with the appropriate provisions of the law I state that this site is no profit, has not a predefined recurrence and is not updated according to a deadline. It may therefore not be considered an editorial product under Italian law #62 of March 7th, 2001. In addition, this site makes use of the right of citation for academic and criticism provided in Article 10 of the Berne Convention on copyright.