Ubuntu Networking :: Automatically Obtain A New IP?
Jan 26, 2010
I have an Ubuntu server running behind a router and I generally manage it from a remote location. I ran into a problem today when I changed the subdomain that the router is on and in turn changed all of the ip addresses for everything on the local network. After restarting the router, I can no longer access the Ubuntu server.
I made sure that I changed the port forwarding settings to reflect the changes in ip addresses. Also the router does not even show the Ubuntu server as having an ip address issued to it. So from that I guess that the server never requested for a new ip after the router restarted. I think I've had this problem before and I ended up restarting the entire server manually. I know that if I restart it, everything should be back to normal. That's what I'll have to end up doing, but I wanted to avoid having this problem in the future, so I was wondering if there is any way to set up the server so that it requests for a new ip address automatically.
View 7 Replies
ADVERTISEMENT
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
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 4 Replies
View Related
Jan 30, 2010
I am having a persistent problem with getting a wired network connection under a recent install of Ubuntu 9.10. The network manager will show the wired network as 'disconnected' after a restart. This is true whether I am connected directly to my ISP's modem, or through the Linksys router that I usually use.The output of ifconfig suggests that eth0 is not being assigned an IP address:Code:I have reached the limits of my own ingenuity.
View 9 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
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
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
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
May 16, 2010
But i can under an alternate profile. Running ubuntu 10.04 and cannot seem to pin point the problem. When I was doing some looking into it, it appeared that the wpa-supplicant.conf wasn't where the man page indicated it should be. ie /etc/, but then it wouldn't or shouldn't work for the other profile either, right? i tried to post this before but i couldn't find it anywhere.
View 3 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
Feb 13, 2010
Running kubuntu karmic, kernel 2.6.31-19, on Asus EEE PC 1000.
WICD 1.7.0. hangs on "wired connection: obtaining ip address...". I have downgraded to 1.6.2 and 1.5.9, but this did not solve the issue.
WICD does work under other circumstances, e.g. wireless connection. (But at home I don't have wireless, but just the modem and ethernet.)
Same wired connection ethernet connection works flawlessly on laptop running Windows XP SP2.
View 1 Replies
View Related
Apr 26, 2010
For some time now, I have been backing up a windows box (data files only) to a ubuntu machine using the following:
mount -t cifs -o user=xxx,password=xxx //windowsshare/ /mnt/
For the first time I needed to restore some files and found I did not have the correct rights to write to the windows machine.
I had already wasted a whole day trying to map the ubuntu machine from windows and failed so this is not an option.
I have tried adding write rights to several accounts on the windows machine, also tried adding write rights to "everyone", checked both the share permissions, as well as the folder permissions.
I read about chmod, and tried to use the command gksudo to do something but this fails with DISPLAY error. Tried several things to fix this which didn't work and I was just going off on a tangent.
In the end I used a CD ROM to copy the files from one machine to another.
So for next time I need to restore a file, how can I give myself rights to do so?
View 4 Replies
View Related
Jul 27, 2011
I just bought a new router with gigabit ethernet.
However, my HTPC running Ubuntu 10.04 (32 bit) with a Zotac ION mainboard can't obtain gigabit speed. I have tested the cables by connecting my laptop and it gets gigabit speed. I also have a desktop computer that obtains gigabit speed in my network, this one with another Nvidia chipset and Linux Mint 11.
I have tried to boot the HTPC with Linux Mint 11 LiveCD, but it fails to get gigabit as well. I have also tried
Code:
sudo ethtool -s eth0 speed 1000
but it does not succeed in chaingin the speed.
Is there anything I can do to get gigabit speed? I have all my files on the HTPC, so network speed is important!
Here's some info that might be useful:
Code:
christian@htpc:~$ dmesg | grep eth
[ 1.243230] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[ 1.244597] forcedeth 0000:00:0a.0: PCI INT A -> Link[LMAC] -> GSI 21 (level, low) -> IRQ 21
[Code].....
View 5 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
Jun 18, 2011
I needed to get a wireless adapter for my desktop PC so I went to newegg and looked around to see what PCI-E cards they had available. I came across a Encore one that uses the realtek 8192CE chipset. I confirmed before I bought it that it is supported in the kernel as of version 2.6.38. I am running Slackware 13.37 and I compiled a new 2.6.39.1 kernel and after I rebooted the kernel I checked lsmod,iwconfig, and ifconfig and confirmed that all the correct modules are loaded and the card is recognized by both iwconfig and ifconfig. At first Wicd acted as if there was no card in the system so I checked dmesg and found that I was missing the firmware for the drivers. I went to the realtek sight and downloaded the drivers from there and got the firmware and copied it to /lib/firmware/rtlwifi and now wicd recognized the card and finds my networks. But whenever I try to connect to my network I get an error saying "Can't obtain IP address". I have googled around and can't find any clues on this. The only thing I have noticed is that the activity LED is not working which leads me to believe the card is either turned off/or not powered on. The light works fine in Windows 7. The network I am connecting also uses WEP. I am having no trouble connecting in Windows so I know the card works.
View 5 Replies
View Related
Mar 13, 2010
The IP address acquisition problem I reported earlier has returned, and I am stymied. To recap: Ubuntu 9.10 would not obtain an IP address via a wired Ethernet connection. I resolved the problem at the time by configuring eth0 in /etc/network/interfaces:
Code:
auto eth0
iface eth0 inet dhcp
and disabling Network Manager in Preferences > Startup Applications.After a powering down the PC today, the problem has returned. It appears that dhclient cannot obtain an IP address. This is true whether I am connected to the router (a Linksys WRT54G running Tomato), or directly to the DSL modem. When my usually wireless Ubuntu 9.10 laptop is wired to the router, it obtains an address almost instantly. I have made no changes to the network configuration since January. I have tried to keep current on Ubuntu updates.
Code:
jgb@alienware:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:30:1b:ac:5b:9e
inet6 addr: fe80::230:1bff:feac:5b9e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]...
View 4 Replies
View Related
Sep 9, 2010
I'm using Ubuntu 9.10 on a Lenovo ThinkPad T61 using an Intel PRO/Wireless 3945ABG. My laptop's ability to connect to a wireless network stopped last night, and I'm not sure why. It's definitely something on my end, as my roommate can connect to the internet on a Windows box. I can wire in without a problem, but that's a pain and my Ethernet cable got lost in the shuffle when I moved back to school. I've been able to get into this network before and nothing about it has changed. I've been able to hibernate and restart and such and nothing has ever needed to be reset.
The router's a D-Link WBR-2310. Wicd and Network Manager see the network (I'm back to using wicd) , but wicd appears to get stuck at "Obtaining IP address..." and says "Unable to connect: Cannot obtain IP address". I know my password is correct (I set up the router and I'm the CS undergrad in the apartment so I manage it), lspci sees the wireless card, ifconfig and iwconfig return information about the interface, dmesg|grep wlan0 doesn't seem to have anything terribly out of the ordinary, but here's that output:
Code:
allyanncah@taliesin:~% dmesg | grep wlan0
[ 23.514202] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 36.609016] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 38.756143] wlan0: direct probe to AP 00:24:01:cb:4e:7e (try 1)
[ 38.758791] wlan0: direct probe responded
[ 38.758796] wlan0: authenticate with AP 00:24:01:cb:4e:7e (try 1)
[ 38.760587] wlan0: authenticated
[ 38.760609] wlan0: associate with AP 00:24:01:cb:4e:7e (try 1)
[ 38.763318] wlan0: RX AssocResp from 00:24:01:cb:4e:7e (capab=0x431 status=0 aid=1)
[ 38.763322] wlan0: associated
[ 38.765502] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready .....
I've tried:
- reinstalling wicd
- uninstalling wicd and installing network-manager
- restarting
- shutting down and booting back up
- restarting the router
- sudo /etc/init.d/networking restart
- taking the interface down and back up with ifconfig
I haven't changed anything recently in regards to my wireless card, and all the fixes I've tried are things I've done before without an issue. The only thing I'm wondering about is if doing a hard reset might have broken something (I know this is a cardinal sin, but there's a whole 'nother problem I haven't been able to fix with the OS hanging every once in a while over a VPN daemon when it tries to shut down or restart -- I've left it for hours to see if it actually gets anywhere and no luck, won't do a soft reset). I'm nervous about reinstalling the driver just because I've never had to do it and drivers are a finicky business. I imagine there's a config error somewhere?
View 2 Replies
View Related
Mar 19, 2010
though method of editing /etc/network/interfaces worked for me i have decided to get gui work.i have installed wicd, i set wep key for connecting to my network. when i'm scanning wicd find my network. but i get error "couldn't obtain ip address". when i dived into logs i found that there is some problem with wpa_supplicant. here is piece of log:
Code:
2010/03/19 21:45:58 :: Connecting to wireless network MY_ESSID
2010/03/19 21:45:59 :: /sbin/dhclient -r eth0
2010/03/19 21:45:59 :: ifconfig eth0 0.0.0.0
2010/03/19 21:45:59 :: /sbin/ip route flush dev eth0
2010/03/19 21:45:59 :: ifconfig eth0 down
[Code]...
View 8 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
Jul 2, 2010
I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.
[Code]....
eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.
[Code]....
View 1 Replies
View Related
Dec 7, 2010
how we can obtain cache hit ratio? I have tried using "sar -b" but couldn't find the info there.
View 7 Replies
View Related
Jan 1, 2011
I am running UBUNTU / Windows Dual Boot on a HP Pavillion computer. My problem is that on the windows side I have lost sound and internet ( Via Ethernet ). Everything works fine in UBUNTU. So I guess I need to reinstall Ethernet and Sound drivers. Problem is how do I establish what drivers I need - Ethernet card , and Sound card.
View 2 Replies
View Related
Jun 7, 2011
Where can I obtain the source code for Ubuntu 10.04.1 LTS?
View 1 Replies
View Related
Feb 28, 2011
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
View 1 Replies
View Related
May 17, 2011
My first installation of RedHat was in 1996 , version 3, then I switched to Mandrake because they supported the hardware I had at that time. Now I am a little worried about the direction Mandriva has taken lately so need to reconsider RedHat. I was hoping to buy the distribution on a disk medium but the main site seems to be addressed to the business community not home users like me. Downloading is not attractive so I wondered if it was possible to buy a boxed set of Fedora or RedHat for a home user.
View 3 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
Aug 20, 2010
Where can i obtain a full command list?
View 8 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
Aug 23, 2010
I am using a very reliable VPN connection right now, and would like for it to connect automatically. The checkbox for 'Connect automatically' in editing the VPN connection does not help.
View 2 Replies
View Related