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.

Commenti (2) a «Solved: Ubuntu 9.10 does not see my LAN»

  1. utente anonimo ha detto:

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

Nessuna retrotraccia o avviso a «Solved: Ubuntu 9.10 does not see my LAN»

Si prega di usare Facebook solo per commenti brevi.
Per commenti più lunghi è preferibile utilizzare l'area di testo in fondo alla pagina.

Commenti Facebook

Lascia una risposta





Nel rispetto delle apposite norme di legge si dichiara che questo sito non ha alcun scopo di lucro, non ha una periodicità prestabilita e non viene aggiornato secondo alcuna scadenza prefissata. Pertanto non può essere considerato un prodotto editoriale ai sensi della legge italiana n. 62 del 7 marzo 2001. Inoltre questo sito si avvale del diritto di citazione a scopo accademico e di critica previsto dall'Articolo 10 della Convenzione di Berna sul diritto d'autore.