Ubuntu Networking :: Unable To Obtain DHCP Through Wireless
Feb 17, 2010
Linksys router and an acer aspire one. I have updated to the 9.10 netbook remix and the laptop associates with the router but will not pickup dhcp. If I specify an address then the machine looks like its connected but will not go to a website. I manually inserted dns but still nothing. So I updated to
linux-backports-modules-karmic-generic
linux-backports-modules-wireless-karmic-generic
Still will not use DHCP , I to am using ethernet at the moment. It was working before the update.
View 6 Replies
ADVERTISEMENT
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
Feb 7, 2010
I have a home WiFi network that has been working fine for ages, which currently supports two Windows-based laptops and a WM5 smartphone. They all connect to the WiFi router (Linksys WRT54G) which in turn connects to the ADSL modem (Huawei MT882). The router is configured with a WEP key, the SSID is not being broadcast, and all MAC addresses must be whitelisted. I try to follow good wireless network security practice. I also have NAT running between the router and the modem.
Everything is working fine for the Windows clients, and now I am trying to add my Linux box to the mix. I am setting up an older HP Pavilion 510a desktop with Ubuntu v8.04LTS, using a Realtek RTL8185 WLAN card. The machine has an onboard RTL8139 LAN adaptor also, which works fine when I plug it in directly to an ethernet port on the wireless router. The WLAN, however, does not seem to be getting a DHCP packet, and keeps on autoconfiguring with a 169.254.x.x address. When I try giving it a static IP address it doesn't connect either.
As you can see from the screenshots below, the WLAN is working fine. I have it installed using the ndiswrapper and Windows drivers. I've been through the Comprehensive ndiswrapper troubleshooting guide but that did not resolve my problem.
I configured the network myself, and it works perfectly for my Windows machines. It is just my lack of experience with Linux which is preventing me from getting the wireless to work under Linux. I can get a HDCP packet in Linux when I am connected to the LAN using the RTL8139 adaptor, but not on the WLAN using the RTL8185 adaptor.
View 9 Replies
View Related
Sep 29, 2010
I installed PCLOS 2010.07 into my laptop and dual booting with windows vista. Now I got a weird problem that is when I connected linux to my wifi router, it cannot obtain IP! (it still work correctly in windows, problem just with linux) I had to manually set ip and that worked. Now i wonder what is happening, because I didn't see this problem with PCLOS 2009 borrowed from my friend few months ago.
View 4 Replies
View Related
Nov 7, 2010
I am having a problem getting a wireless network connection on my DELL laptop running CentOS 5. I have no problem getting a wireless connection when the laptop is booted in Windows XP. I also don't have a problem when booted under CentOS 5 and there is no authentication setup on the wireless router. I only have a problem when I setup authentication. The router wireless log shows the PC connectinng, authenticating, and succeeding authentication.I am using the Broadcom Hybrid-wl wireless driver.
View 19 Replies
View Related
Mar 12, 2010
I have just installed Ubuntu 9.10 (64 Bit) and I'm trying my best to get this Linksys WMP300N wireless adapter to work.I have searched and gone through a number of threads here with some level of progress but I still can not get this to work.Adapter info is BCM43XG [14e4:4329] rev 01I have installed driver bcmwl5.inf using ndiswrapper and ndisgtk.I had absolutely no success trying to use network manager applet so uninstalled it and went with Wicd instead which at least sees my SSID network with a strong signal.My network is encrypted using WPA and I entered the passphrase which seems to pass authentication but it keeps trying to get an IP address until finally it just tosses a failed message.I feel as though I'm really close but it just won't connect.
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[code].....
View 9 Replies
View Related
Feb 19, 2010
I believe I have the wireless card installed properly and wicd sees the router. When I try to connect I get an error "can not obtain IP address" Output from iwcongif and lspci is.
dillan@dillan-desktop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[code]....
View 9 Replies
View Related
Mar 5, 2010
I'm using Ubuntu 9.10 and I recently changed certain settings of my router. After that ubuntu isnt able to obtain IP address from this wifi network. I've tried to connect with win 7 and OS X and both of the OSes are able to connect to the same wifi network. I tried to connect ubuntu to another wifi network at school and it connected successfully.
View 7 Replies
View Related
Jan 17, 2010
I'm using Ubuntu 9.10 and for a while I had no problems connecting to the internet through the wireless network. But recently, my wireless connection started disconnecting regularly. Following an advice I found online, I installed linux-backports-modules-karmic, but after a reboot the wireless device stopped working altogether - it had lost its driver. Since then I managed to associate the device with Broadcom's STA driver, which I had been using before. But now, the wireless device cannot connect to the internet anymore. The network manager's output to /var/log/syslog indicates that the device cannot obtain an IP address. When I run code...
View 4 Replies
View Related
Jul 16, 2010
I'm having some problems bringing up my wireless card at boot time on my Red Hat Linux 9.0 box. After some investigation with the boot scripts, I noticed that it was having problems with the DHCP negotiations when the ifup wlan0 command is issued.I then tested the command outside of the booting process and everytime the command is issued the first time, the dhclient fails to get any DHCP offers and returns with the message Unable to obtain a lease on first try. Exiting. and then exits.
If I then issue the same ifup command again a second time, it successfully receives a DHCP offer from the router and receives the needed IP address, and after this, the Internet connection on the box works fine. It is consistently doing this everytime. Why is it failing to obtain a lease the first time?
View 1 Replies
View Related
Jan 13, 2010
Alright, I'm running Ubuntu KK 9.10 and I've probably read every ICS tutorial on ubuntuforums. I'm running wireless internet via a Linksys router and have a LAN card in my system as well.
(lshw -c network)
Code:
I tried the easy route with 9.10 (setting my wireless to DHCP and LAN to share connection) and although Ubuntu recognizes the Xbox when its turned on (I get a nice notification saying my wired connection is active) the Xbox gets no internet, and doesn't even recognize the connection. (when I tested the connection it failed before it even hit network...)
View 5 Replies
View Related
Jul 10, 2010
On a macbook5,4, running (ordinarily) Kubuntu 10.04 - connecting to any unsecured wireless network fails, and in syslog appears:
Code:
Jul 10 17:26:34 jagadai dhcpcd[6460]: eth1: dhcpcd 3.2.3 starting
Jul 10 17:26:34 jagadai dhcpcd[6460]: eth1: hardware address = aa:00:04:00:0a:04
Jul 10 17:26:34 jagadai dhcpcd[6460]: eth1: DUID = 00:01:00:01:13:b4:bb:00:aa:00:04:00:0a:04
Jul 10 17:26:34 jagadai dhcpcd[6460]: eth1: broadcasting for a lease
[Code]....
View 1 Replies
View Related
Mar 6, 2011
I had the wrong WPA password.[/blush] It appeared to me that it was connected OK at the physical/datalink level but apparently that was not the case.I've set up an old PC with the latest Ubuntu desktop and am trying to set up wireless networking with a TP-Link TL-WN722N. It only came with Windows drivers but from a thread elsewhere I got it to where it finds my router and connects with the password. However, it doesn't pick up its IP details. The router is working fine wirelessly on my phone and wirefully on my other PC.
I've edited /etc/network/interfaces with "auto wlan0" and "iface wlan0 inet dhcp" but after restart the wlan0 interface has no IP details. Originally the interface had IPv6 details but I cleared that with ifconfig. Under the Network Connections Wireless tab it has "Auto" followed by the name of my wireless connection so it appears to have connected OK. Now when I click Edit for that connection nmame, the IPv6 tab says Ignore and IPv4 says Automatic (DHCP) but Addresses is greyed out and the other fields are all empty.
View 5 Replies
View Related
Mar 30, 2011
I am trying to configure an external wireless bridge for a few systems to replace a very long, duct taped cable.
I have it set up and it is connecting, at least I can see the pfsense router on the other side and ping any machine in the network.
Here's the issue, I cannot get dhcp to work across the link. I set a static address (dns servers and all) but when I try to ping google i get "Network is Unreachable"
View 1 Replies
View Related
Mar 22, 2010
I'm using Ubuntu 9.10, and I want DHCP to assign an IP address automatically. I can ping my router, and get a reply. I just have no idea how to do this.I'm trying to get my Ubuntu machine onto my Windows network.
View 9 Replies
View Related
Jan 16, 2009
I have a WET54g bridge that I am trying to get connected to a wireless network that only allows DHCP. The idea behind it is that I would like to connect the Cat6 out of the bridge to a switch allowing multiple wired computers to connect to the wireless network. The bridge will easily connect to the network once I put the WEP key in, however, there is a kink after that. When I connect the Cat6 to my computer and request an IP for that computer, it self assigns. This tells me that it is not talking to the wireless network through the bridge.
I can not find which IP address the bridge was assigned so that I can talk to it. The sub net is 255.255.240.0 which leaves quite a few possibilities. I know that the bridge is, however talking to the wireless network because the light is steady on the front of it which indicates just that. One other thing to stack on is that I know that there is a "splash page" which comes up when any computer connects. You click on the agreement and then you are allowed onto the network. How can I get my computer to talk through the bridge to the wireless network?
View 1 Replies
View Related
Jul 23, 2009
I have Centos 5 installed on a PC in the local network. I have installed the RPM dhcpv6-client-1.0.10-16.el5.i386.rpm on this PC to configure it as DHCP V6 client. The RPM was installed successfully, and I have done modifications to the following files:
1. /etc/sysconfig/network, set the networking to yes.
2. /etc/sysconfig/network-scripts/ifcfg-eth1 set the BOOTPROTO=DHCP.
Now the problem is when I start the client on this pc as dhclient, it throws the following errors, and logs out after some time. All the network configurations were lost and the PC gets disconnected from the network.
[root@ServerB]# dhclient
Internet Systems Consortium DHCP Client V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
[Code]...
View 4 Replies
View Related
Feb 9, 2010
I just got a AWUS036H Alfa Network Adapter but there's like 10 folders on teh CD that it comes with, and there's read me's in about all 10 of'em, i have no damn idea which one to install. I went ahead and just did ifconfig wlan1 up and brought the interface up, went to wicd network manager and added wlan1 to wireless adapter
when i try connecting to my wireless router, it says resetting Ip ddress, something else with the configuration file, then obtaining IP address... it just hangs there for about 2-3 minutes and gives me an error... anyone else know how to set up this adapter?
View 1 Replies
View Related
Feb 25, 2011
I am unable to obtain a blank CD-R to burn the ISO. I have it installed through WUBI but due to the size restriction to 30Gig it makes it completely useless to me. I gave my CD away that I got free from shipit and they wont let me get a new one. I have an external HD formatted to NTFS with files on it that I can't lose, they are very important. I might buy a disk later but right now my funds are tight due to bills and such. I use Ubuntu more than Windows, actually Windows is pretty much never used on this machine and due to issues with it I am unable to use it.
View 3 Replies
View Related
Jul 14, 2009
I am going barking mad with this - I have forward mapping working fine, but my system simply refused to add in the reverse mapping.Anyway can someone with a clearer head and more knowledge have a look at my configs and see if they can point me in the right direction.I've setup the keys and permissions and they seem to be working, local UNIX file permissions are named.named and even 777Nothing seems to create reverse mappings - no PTR records etc.Weird (I am 99% there to blowing my stack and giving up after 4 days of buggering around).
(A) my dhcpd.conf
==============
authoritative;
[code]....
View 3 Replies
View Related
Feb 12, 2009
I have installed Fedora 10 on my A860 Dell Vostrol Laptop with AR242X Atheros Wireless card. Wireless card worked out of the box and i could detect wireless network and connect to it. But i have a problem that, my wireless connection is not able to get IP address from the DHCP server. Please help me out what can i do to get this working. I am using WEP security and authentication is open system.
I have windows 7 beta installed on the same machine and on that wireless network works fine so i am sure that there is no problem with the wirless network. I am using DIR-300 router from D-LINK. I tried to see packet log on wireshark and there i see that there is no reply to the DHCP discover message. Actually i don't see any RX packets at all. Which is not normal as there is traffic on the network.
View 14 Replies
View Related
Apr 14, 2010
I am trying to get my intel pro wireless 3945abg working on this Lenny installation. My progress is as follows:
No wireless & LED (on the physical switch) won't turn on
installed NdisWrapper and netw5x32 driver
installed package "firmware-iwlwifi_0.14+lenny2_all.deb"
[code]....
Still no wireless, but when DHCPDISCOVER runs at startup, it is apparently assigned an IP address using wlan0. This only happens when the cable (eth0) isn't plugged in (eth0 is set to static) which leads me to believe that the wireless really does work for DHCPDISCOVER.
What I want to know so that I can mess about with it more is how do I switch between drivers? What I have been doing here is
Code:
modprobe -r [old driver]
and then
Code:
modprobe [new driver]
View 2 Replies
View Related
Nov 19, 2010
I just installed ubuntu 10.10 on my laptop Dell Inspiron 1525. Wireless internet is not working. I installed wicd network manager and I am able to see the available wireless networks. My wireless connection is encrypted. I have tried all encrypted options with the key but no avail. It says "Cannot obtain an IP address" after validating authentication.
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
May 24, 2010
I'm using a D-Link Xtreme N PCI express wireless adapter (DWA-556). It shows up in the network manager.
However it does not get an ip address from the DHCP server. Below is what I get in the messages log:
View 1 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
Feb 24, 2010
I have an open WEP wireless internet connection with a security key. KNetworkManager can never obtain an IP address from my wireless router, but I know that the router works because Windows can connect correctly and Ubuntu's NetworkManager can connection correctly. Does anyone know what is happening? KNetworkManager just asks for my security again and again and again after it fails to connect.
View 8 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