Ubuntu Networking :: Can't Use My DHCP Connection
Aug 20, 2010
I had my laptop at work for a few days and when I brought it home I couldn't open up web pages any more. I have a DHCP connection (shaw cable).When I plug the chord from the modem into my windows machine I can open up web pages. When I plug it into my ubuntu laptop I can't open up web pages.
I have tried unplugging the modem and restaring my computer.I think that there is some sort of connection because when I open up Network tools it shows that I am continually receiving packets. As soon as I unplug the ethernet wire I stop receiving packets. For some reason I just can't open web pages.I also tryed typing 'sudo ifconfig' and 'sudo dhclient' in a terminal. I don't fully understand what this means but I saw it in another forum.
View 4 Replies
ADVERTISEMENT
Aug 10, 2011
After ubuntu did some updates, I restarted and then no wired connection was detected.The following may partly clarify the problem:
sudo dmesg | grep eth
(I dont get anything for this)
ifconfig
[code]....
View 5 Replies
View Related
Feb 16, 2010
I have router and wireless card Linksys. Driver are installed correctly for wireless card.
Using WifiRadar I can see the access point is detected.
DHCP woks perfectly for wired lan.
However when I try to connect to the detected access point the ip addres is never retrieved and the connection never established.
I tried most of he basic instructions posted on ubuntu forums, but the problem doesn't seem to be with basic configuration: driver, essid, wep key, etc..
The problem seems to be with DHCP not able to retrieve an IP address from the DHCP server of the router. Of course the router works file with other laptops (windows based) that have wireless card.
I also tried the Network Connections setup part of ubuntu. That one shows the access point by its essid name in the list of wireless network, but when I try to connect it takes sometime and eventually asks for the wep key, which I provide and then it times out and keep asking it. The same wep key works for other pcs.
Can't figure it out. I am using ubuntu 9.10.
Some more details are the following:
1) Here the output from the log file: /var/log/wifi-radar.log
Of course it is set ... and dhcp client works for wired lan anyway.
2) diego@mysuperlaptop:/var/run$ sudo iwlist wlan0 scan [sudo] password for diego:
I tried everything I could think about in the UI windows setting (WifiRadar and Wireless Network Connections) a well in the config files from the shell. I just don't get what the deal is. I am pretty sure it is a DHCP issue but can't figure out what.
View 9 Replies
View Related
Jan 30, 2010
I've been connecting to the Internet via Ubuntu 8.10 on my Toshiba laptop fine for ages now, but today it has stopped working. Yesterday an update came through relating to DHCP and, like all other updates, I installed it. And now my laptop can see the wireless router but it cannot connect to the Internet. (As I always install the recommended Ubuntu updates I didn't look closely at exactly what the update said, but I did see DHCP in the title, so this is why I suspect my connection is now broken.) Or can anyone tell me how to undo yesterday's update? I really wish now that Ubuntu had a utility similar to Windows System Restore.
View 2 Replies
View Related
Jun 17, 2011
I have a similar problem. My ubuntu box is set up as a dhcp router for my Xbox360, my xbox can get ip and DNS information from the computer, but it doesn't seem to get the right info. The ip address it gets assigned is out of the range I've set in etc/dhcp3/dhcpd.conf.
View 1 Replies
View Related
May 12, 2011
I'm using the following in a script to connect to my house's wi-fi - it works perfectly for me - simple, and with a static IP:
Code:
modprobe zd1211rw #load the module needed by my wireless LAN adapter
ifconfig wlan0 up
iwconfig wlan0 essid my_network_name_at_home
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0
iwconfig wlan0 key key_comes_here
However, if I take my machine to the office, we've got DHCP assigned dynamic IPs. How can I modify the above script to NOT do
Code:
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0
route add default gw 10.0.0.2 wlan0
but instead get them from the DHCP service running at work on the W-LAN?
View 2 Replies
View Related
Aug 30, 2010
I have tested several Linux Distros over the last weeks, and with all of them my DSL connection have been working out of the box (for intance Mandriva, Ubuntu, Mint). But it does not work on Dreamlinux, neither on Live CD or now where Dreamlinux is installed on my harddisk.
According to the guidelines provided by my Internet provider I need to use TCP/IP and activate DHCP. And make sure that PPPoE is not activated.
I see nowhere I can do this in Dreamlinux. In the controle panel i can run Wicd. Then I can chose to de-activate Wicd - this gives me an option of entering Adress, Networking mask, Gatway and Nameserver - for static ip it says - and this is the opposit of DHCP, right??
SO - what to do? Should I get a debian package or something? (Dreamlinux is using debian packages, as far as I could see)
View 1 Replies
View Related
Jun 20, 2010
Since that time I moved to Archlinux and I love it. I do however run lubuntu live from a USB for my work PC. I am having a problem with it. I think it's okay to post here because the core of the system is still Ubuntu. I don't think LXDE is the problem. I start up the live environment and it says 'wired connection connected' but I can not load any pages or do anything.
I thought it may be a problem with configuration so I copied down (from Windows) the IP, Subnet, Gateway and DNS. I put them in manually and it doesn't say connected any more and still no connection at all. I am unsure what to do from here. I am not really familiar with Ubuntu enough to try much. I tried to 'dhcpcd eth0' but dhcpcd isn't installed. I guess the default Ubuntu network manager has dhcp enabled automatically.
View 9 Replies
View Related
Mar 16, 2011
I'm still fairly new to Linux so please forgive me if my description of my problem leaves out important information. My problem is centered around using a AT91SAM9G45 development board (DB)on Fedora 10. I have directions on how to setup on my host machine a DHCP server to connect to the development board. I have installed an additional network card (eth1) that will be used exclusively to communicate with my DB.
The DB has been setup with an ethaddr=12:34:56:78:9a:bc and an ipaddr=192.168.251.191.
The following is info from ifconfig for eth1:
eth1 Link encap:Ethernet HWaddr 00:0A:5E:1A:46:1C
inet addr:192.168.251.190 Bcast:192.168.251.255 Mask:255.255.255.0
inet6 addr: fe80::20a:5eff:fe1a:461c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
[Code]...
View 3 Replies
View Related
Oct 14, 2010
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
View 3 Replies
View Related
Dec 12, 2010
Running 2.6.29-gentoo-r1 on a Sun Ultrasparc 10 with a Sun Happy Meal on eth0 connected directly to my cable modem. Intermittently, with a frequency between a few hours and a few days, I lose internet connectivity. Running ifconfig eth0 indicates all is well and I have a valid IP address but I cannot even ping the cable modem's management address; pings to 127.0.0.1 and eth0's IP address do get a reply but no other address I've tried does. I can 'fix' the problem by issuing
Code:
If I check the CM logs, it appears that it has rebooted itself prior to the loss of connectivity. The strange thing is that the incoming traffic doesn't seem to be affected by this, my PSAD log is full of incoming scans even during the periods when I can't connect to the net. I suspect this is an ISP problem (they own the CM);
View 2 Replies
View Related
May 26, 2010
I've set up a permanent DHCP lease for my MAC address. I did this hoping to resolve the fact that I share my Internet ADSL connection with my wife and my daughter (the latter a great bandwidth hog)!
View 5 Replies
View Related
Nov 20, 2010
I have just started to work on Ubuntu (Ubuntu 10.4 LTS) and I am having some problems to get a WUSB600N vers. 2 802.11n adapter working. I have followed the procedure described at [URL] . The compilation has been successful and I can see the kernel loaded an the module detected:
Code:
adrien@ubuntu:/$ lsmod | grep rt3572
rt3572sta 612272 1
adrien@ubuntu:/$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[code]....
The wireless adapter is detected by the system and it can scan the neighboring APs (cf. below with MAC address made unreadable):
Code:
adrien@ubuntu:/$ sudo iwlist ra0 scan
[sudo] password for adrien:
ra0 Scan completed :
Cell 01 - Address: --:--:--:--:--:--:--
Protocol:802.11g
[code]....
View 2 Replies
View Related
Jul 17, 2009
I am a convert from Ubuntu (9.04 kept freezing on my laptop; when it did work, many packages it seemed were outdated--ie only Eclipse 3.2, rdesktop was messed up [and apparently is also in Fedora]), and I am having some trouble with getting my wireless working.I am running Fedora 11.First off, there is a problem when trying to connect when using DHCP. NetworkManager gets to the second green dot, and then after a short while I am given a message that the connection was disconnected.
Configuring the interface manually, not using DHCP, allows the connection to complete. However, the internet is very slow. There is a 15-30 sec delay before website loading actually commences, and then another delay each time an ad must be fetched from another server.How can I fix this delay? I know I have encountered it in earlier versions of Ubuntu, but I can't remember how I fixed it.About the rdesktop problem, if anyone is able to help [maybe I should post another thread?], the cursor color (the color of the pointer) is inverted---where it should be white it is black, and where it should be black it is white. I use rdesktop a lot to connect to my terminal server in my basement. Any idea how to fix it?
View 5 Replies
View Related
Aug 1, 2010
I'm running an up-to-date Fedora 12 machine with the Gnome desktop (meaning with Network Manager). My network connection is a wired ethernet to a switch which then connects to a Netgear router. For some reason, this machine can't renew its leases with DHCP, so NetworkManager deactivates eth0, taking my machine off the network. I have to click Network Manager and enable eth0, which seems to work every time.
How can I fix it? Here are the relevant bits from /var/log/messages showing a failed DHCP request and then the successful renewal.
Code:
Aug 1 04:00:08 ironton dhclient[12452]: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Aug 1 04:00:08 ironton dhclient[12452]: DHCPNAK from 192.168.1.1
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): DHCPv4 state changed reboot -> expire
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): device state change: 8 -> 9 (reason 6)
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> Marking connection 'System eth0' invalid because IP configuration expired.
[Code]...
View 5 Replies
View Related
Jul 17, 2009
I'm having a bizarre problem where my network connection stops working randomly. At first I thought it was a DNS issue since Firefox simply chilled out on "Looking up [hostname]" until it timed out, but after further investigation (pinging IP's, "host" and "dig" being unable to reach servers) it became apparent that I couldn't even access the DNS servers i.e. the Wicked Connection of the East was most sincerely dead.
There are two strange things about this: one, there are no errors except "timeout". The network manager is happy, Firefox is happy until the lookup fails... Two, the failures only start *after* DHCP configuration. DHCP configuration never has any trouble sending or receiving packets. I'm going to try static IP and whatnot to see if that helps, more information later.
View 3 Replies
View Related
Oct 22, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 6 Replies
View Related
Jul 1, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.
When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 2 Replies
View Related
Mar 8, 2010
Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible
View 2 Replies
View Related
Mar 25, 2010
I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response
openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.
The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
View 2 Replies
View Related
Nov 29, 2010
I have two ubuntu systems. Both are not connected to any internet connection Both are not connected to any DHCP server. Both are connected to each other via simple 8 port switch.
Is it possible to share files between two ubuntu systems ?
View 2 Replies
View Related
Aug 9, 2011
I just upgraded my Ubuntu Server from 10.04 to 11.04. I am having issues with the ethernet connection upon boot. The connection will blink slowly and not stay connected to the network. If I then unplug the ethernet from the switch and then replug it in, eth0 will get a steady connection, at which point I have to run the following command to get everything working.
Code:
sudo dhclient eth0
After running the command I have no issues with the ethernet connection.
lshw -C network
Code:
*-network:0
[Code]...
View 1 Replies
View Related
May 25, 2011
For strange reasons I was stuck without an Internet connection for about 2 hours. I couldn't establish a connection, even local network only via DHCP. This was on Natty. After 30mins passed, I rebooted to Maverick only to get the same results. With nothing else to do, one hour after, I booted into Windows XP to play Dragon Wars 2. Lo and behold! I had Internet connection. At first I thought it was a technical problem with my ISP. So I rebooted hurriedly to Natty and after several minutes of trying to coax Network Manager for a damn fre*kin* connection it still couldn't.
Back again to XP, I couldn't believe that I wasn't experiencing some kind of on/off signal from my ISP. It wasn't just a coincidence that I could connect on XP and not on Natty. The connection was fine! And I've reason to believe for the past 2 hours, my ISP wasn't the culprit. .. this time it was on my end.Now - on Natty - I manually configured the connection (Instead of DHCP) to be greeted with the familiar Connection Established prompt from notify-OSD.
View 2 Replies
View Related
Apr 9, 2010
I've just installed opensuse 11.2 with the network installation iso. During the installation, it has got the IP via DHCP without any problem, and I has downloaded all the needed packets without problems... But when the installation finish.I have no network connection It's strange, because I have IP address, I get the IP from the DHCP server, and I can see the IP addreess if I do "ifconfig", the default route and even the DNS servers in the resolv.conf file; but I cannot ping my gateway (that is the DHCP server as well!!), I cannot ping anything in my network and either anything in internet. I see a network error at the start, but it finally gets the ip address. In the dmesg, the last message repeats over and over. The machine is a Hyper-V virtual machine, but as I said... I worked very well during the installation, I don't know what is going on. I've tried to reinstall, but it doesn't make any difference
View 2 Replies
View Related
Aug 12, 2010
I am trying to configure a computer to make it as DHCP server.Well, my current connection is PPPOE.So, I should assign one interface to connect as PPPOE, and the other will be broadcast DHCP server.What configuration shall I apply to the dhcp.conf file?
View 3 Replies
View Related
Dec 29, 2010
I did search, but could not find a solution.Right I've installed Ubuntu Server 10.10 on an old machine, installed fine and the system is running. I have a windows 7 desktop that is connected to the internet via wireless. The desktop then has an ethernet connection which is shared to the ubuntu server. The network looks like this.
Modem > Router > Desktop > Switch > Ubuntu Server My problem here is that there appears to be no connection from the server to the desktop. The server cannot connect to the internet.
When i ifconfig the ubuntu machine shows.eth0 link encap:Ethernetinet address: 192.168.137.2 Bcast:192.168.137.255 Mask 255.255.255.0 However on the windows desktop (the machine sharing the internet) these are the details for the connection to ubuntu server.ip 169.254.170.50 mask 255.255.255.0
is this a dhcp problem? is my server configured wrong?
View 4 Replies
View Related
Aug 4, 2010
I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices.My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server.One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network.
View 4 Replies
View Related
Oct 31, 2010
I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices. My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server. One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network. However I have no idea how this could be setup.
View 2 Replies
View Related
Feb 8, 2010
first: PXE flawless bind to dhcp address but put next binding state to free second: when installer calls init script to reinit ethernet driver (e1000 (vmware)) binding fails 11.2 opensuse fail to reinit dhcp with log entry "no free leases" third: when manual set network install works how to preserve dhcp lease on reinit of driver?
View 1 Replies
View Related
Aug 22, 2010
I want to run networking on my laptops in different environment (home, office, airport etc). I found that Netowrk Manager assigns information from DHCP although I requested fixed IP and configured the gateway and DNS. If I reconfigure the DHCP server so that there is no free IP address, the laptop refuses to connect. When I remove the interfaces from the network manager, I get the fixed IP address, /etc/resolv.conf is not overwritten from DHCP but WiFi connection cannot be established, there is no dialog for setting WPA-PSK. The static IP address seems to be taken into account only if the DHCP server is not found. I need the static address at home and in my office because I need the possibility to ssh to my laptop from another computer but I need IP from DHCP possibly authenticating against RADIUS (Eduroam) when travelling somewhere else. Is there an easy way how to achieve it and how to switch profiles easily? And I cannot switch DHCP off because some devices in my LAN cannot work without it.
View 6 Replies
View Related