I have Ubuntu installed on my pc as a dual boot with Windows 7, but when I log into Ubuntu i get no internet connection, but there is a connection in Windows. Any ideas of how to fix it?

Recommended Answers

All 2 Replies

Try setting a static IP address in the Ubuntu installation, with the gateway address and the DNS server address being that of your router or modem/router.

So if the IP address of your modem/router is 192.168.1.254 you would set:

IP address: 192.168.1.199 (or any unused IP address)
Netmask: 192.168.1.0/24
Gateway: 192.168.1.254
DNS Server: 192.168.1.254

Change the above numbers to suit your own IP addresses.

If that fixes it, then it is/was a problem with DHCP allocation from the modem/router to the Ubuntu system.

If it doesn't, then you have other issues within the Ubuntu system which is/are causing the lack of network connectivity.

Make sure that the network device you are using is properly installed.
you can try the ifconfig command to identify the network interfaces that are on your computer, and iwconfig to know which interfaces have wireless extensions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.