Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My home LAN is set up with fixed IP addresses and an Untangle gateway/firewall/DNS server with Internet access.

One of my computers (Ubuntu 10.10) will connect to the Internet only through the wireless, but reports "network is unreachable" when connected to wired. Even though it will not connect to the internet, it will connect to other computers on the LAN, including the gateway when using the wired connection..

My laptop (11.10) and another system (10.10) connect either way.

I use the same IP address for both wired and wireless on the same computer, and always disable wireless when using wired. The laptop uses wicd because Network Manager fails on it.

I would like to be able to connect to the Internet using wired connection, how can I do this?

share|improve this question
    
Sounds as if you are using a static IP, you probably need to define a nameserver. –  bodhi.zazen Dec 11 '11 at 20:40
    
Please reword 'although it does connect' for clarity. What connects, wired or wireless to what? –  david6 Dec 12 '11 at 1:30

2 Answers 2

The wireless and wired will have different MAC addresses, and may be retaining the association with that (reused) IP address for a finite time. ( ? 12 hours )

Why not use a different IP address?

Or, you could use DHCP for clients, and assign IP addresses at gateway.

share|improve this answer
    
Reason for fixed IP addr was security (hosts file). Wireless AP is both mac addresses & encryption, no mac security on the wired network. The problematic computer can connect to other computers on the LAN & also to the gateway which has the local DNS server. The other two computers have different mac addresses for each connection, but the same IP and same computer name & they work - do you suppose they shouldn't work? I'm reluctant to revamp the entire network because of an seemingly flaw in one system. A nearly identical system works fine with wired/wireless sharing a common IP. Thanks –  keepitsimpleengineer Dec 12 '11 at 0:58
up vote 0 down vote accepted

In a desperate attempt to get this working, I did the following:

  • Using Synaptic, I re-installed network manager.
  • I edited connections in Network Manager; first deleting the wired connection, then adding a new connection with the same parameters (IP address, netmask, gateway and DNS server).

Immediately the system connected to the LAN using the wired connection with internet access. (wireless is always turned off when wired connection is used)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.