Ubuntu Networking :: No DHCP Offers Received After Modem Change?
Jul 5, 2011
I used to connect to the internet via a Linksys router using the following terminal commands (Network Manager has never worked for me on any Ubuntu install):
Code:
sudo ifconfig wlan0 down
sudo dhclient -r wlan0
sudo ifconfig wlan0 up
[code]....
However, I recently changed the old modem + router for a new wireless modem (a Thomson TG585v8 ). Now, the result of that last command is this:
Code:
amosupremo@amosupremo:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.3
[code]....
No working leases in persistent database-sleeping. I've tried to connect in Natty(both Ubuntu and Kubuntu) and it's not working either.I also purged Network Manager and installed wicd and I managed to get an intermittent, slow connection.
1 ) Machine Brand and Model (PC/Laptop): No brand. I built it with the following specs:
AMD Athlon II X4 2.6GHz
2 HD: 100GB Sata (Ubuntu and XP64 install) / 80GB IDE (XP)
4GB RAM
Gigabyte Motherboard
2 ) Wireless Brand, Model and Wireless Chipset:
Code:
amosupremo@amosupremo:~$ lsusb
Bus 002 Device 005: ID 0ace:1201 ZyDAS 802.11b
Bus 002 Device 004: ID 049f:000e Compaq Computer Corp. Internet Keyboard
[code]....
3 ) check interface:
Code:
amosupremo@amosupremo:~$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:02:72:04:d0:04
[code]...
I am also attaching the wicd log. It contains a session where I got the intermittent connection. I stopped that connection and restarted it (with the same results) two times.
View 9 Replies
ADVERTISEMENT
Mar 10, 2009
i want to resolve the above error. I'm using systemimager to autoinstall system images on pc's connected in lan. while doing this i got the error No DHCPOFFERS received. Also at the time of booting my pc it shows the message No dhcp and/or proxyDHCP offers recieved. But i've started the dhcpd deamon on my pc. Also the systemimager rsync deamon is running. The two pc's are also connected in lan properly.
Still while autoinstalling the image on client it fails showing the error message... No DHCPOFFERS recieved. what do i do in order to make my autoinstall work properly? How do i come to know whether the dhcp server is running or not? What will be the exact problem in autoinstalling?
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
Jun 25, 2010
I have configured dhcp3-server on my debian box and I'm wanting to offer dhcp on one of the vlan interfaces. The dhcp is functioning but when I test applying it to a different vlan, the original PC can still get an IP. For example: eth1 has vlan100 and vlan200. Our managed switch has the ports configured such the pc1 is on vlan100 and pc2 is on vlan2. This works fine and I can inter-route between vlans with static IPs. Our dhcp config is currently set as:
ping-check true;
ddns-update-style none;
default-lease-time 21600;
max-lease-time 86400;
INTERFACES="vlan100";
authoritative;
[code]....
View 2 Replies
View Related
Jan 3, 2010
I've managed to (I think) get my network card talking, but stuck at the DHCP. Network is wired, /interfaces looks like this:
[Code]....
View 6 Replies
View Related
May 4, 2010
Basically, I wanted to use the Bootp (PXE) protocol to boot a machine (my laptop) from my network instead of using USB/DVD boot medias to reinstall if need be. My router being a piece of crap, I couldn't setup the DHCP server to allow PXE packets. Confirmed from the manufacturer that it is not possible. Well for a $140 router, you would expect the opposite. Anyways, here I am with a small machine setup with Slack, no desktop environment (only CLI) and connected to my router (which I deactivated the DHCP) so the machine can act as a DHCP server. It works very well. However, I would like to install a few other utilities into that machine and for them to work, I need to put the machine between my cable modem and my router. Basically, here's the topology from outside):
Internet (ISP) --> Modem --> DHCP machine --> Router (no DHCP - acting as a switch) --> computers & printers
The problem is that I cannot connect to the modem from the computers on the network. Also I cannot access the internet (go on the WAN side) from the computers. From the computers (namely my laptop), I can ping the router, but cannot ping the interface where DHCP broadcast. Also I cannot ping the modem. From the router (using the web config page), I can ping the DHCP broadcast. From the DHCP machine, I can ping the modem. In the DHCP server, I setup the eth0 (the interface where the modem connect to) as a DHCP assigned IP so it can obtain the IP from the modem. The eth1 (the interface where DHCP broadcast) is static. All my machines obtains a IP from the DHCP machine without a hiccup.
View 13 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
Nov 14, 2010
Does anyone know an easy way to do this? I can't seem to figure it out.
View 6 Replies
View Related
Jun 1, 2011
I want to use dhcpcd instead of dhclient on Ubuntu. The 'interfaces' man page say: "The dhcp Method This method may be used to obtain an address via DHCP with any of the tools: dhclient, pump, udhcpc, dhcpcd. (They have been listed in their order of precedence.)"
I can't find where to change this default order. I can uninstall dhcp3-client, but this will also remove ubuntu-minimal, which is not a good solution.
View 2 Replies
View Related
Jan 16, 2010
Can't change from dhcp to static ip address.I've installed Oracle's version of Linux Redhat 5, but I'm having no success changing from dhcp to a static IP address. My machine is plugged directly into a Belkin router which has the IP address: 192.168.2.1.If I use the gui: /usr/bin/system-config-network and set the network device to dhcp,it works fine. But if I set the IP address manually, I get no internet traffic, and if I ping an internet website, "network unreachable".The installation instructions for Oracle say that they want a full domainname. I've tried gateway.2wire.net. This worked in the last place I did a successful installation.It was the address of my ATT router. If I plunked that into a browser, I got the router configuration.
View 7 Replies
View Related
Feb 3, 2011
For some time, I've had DSL and used Fixed-IP internally. I moved, no DSL, no cable, no nuthin' but dial-up and flaky cell-phone modem. Ugh. Along comes American Recovery and Reinvestment Act providing funding for making high-speed internet available to those of us in the boonies; no up-front or monthly equipment costs, affordable monthly changes, whoo-boy, that's for me. Installed, works, bada-boom, bada bing.
I have three servers, a network printer and a large format pen plotter that have all happily played together with fixed-IP for years connected via a Linksys BEFSR41 router and CAT-5 or CAT-6 cables and I do not want to screw around with DHCP (and the printer and plotter don't particularly like DHCP in any event). The servers talk to each other with SSH, their names and addresses are in /etc/host and all has been well with the world. DSL connected with PPPoE, HughesNet connects "automatically" to the modem with DHCP. I also have a switch available for additional LAN stuff as needed. Of course I had to do a hard reset of the router when setting up HugheNet (right back to infancy).
I do need to have DHCP enabled in the router for the limited occasions that a Winders thing gets connected to it (not my box, I don't mess with it).
Now, the actual question: is there any setting in the router that will enable fixed-IP, ignore DHCP leases unless the server is running DHCP (like a Winders box) and not bother me with screwy lease addresses that override my fixed-IP addresses? My servers are running Slackware 13.1, all configured with fixed-IP, all configured to "know" each other via /etc/hosts, /etc/resolv.conf has DNS Server address in it (and DHCP is not permitted to overwrite /etc/resolv.conf.
View 4 Replies
View Related
Nov 5, 2010
I would like to use dhcpcd instead of dhclient in my Debian installation, because I had some trouble with dhclient in the past and I assume the problem is still exists now with some equipments.
So I would like to use dhcpcd, but I couldn't find a way to tell the system to give higher priority to dhcpcd than dhclient.
Also, I've tried to remove the package 'isc-dhcp-client', but it also would like to remove the following packages: isc-dhcp-client knm-runtime network-manager network-manager-kde
Moreover, it says no need the following packages anymore: usb-modeswitch dnsmasq-base libnm-util1 usb-modeswitch-data network-manager-ppp pptp-linux network-manager-openvpn libnm-glib-vpn1 libnm-glib2 modemmanager vpnc network-manager-vpnc
I would like to still be able to use kde-network-manager, because it is much easier to manage wifi connections using this interface.
View 2 Replies
View Related
Jan 26, 2011
Is there any way to get an async notification (perhaps through something like a Linux message queue or Unix socket) when a DHCP client is either unable to renew its lease, or the address obtained changes from the previous value? I've got the ISC client and will dig into it to determine if it supports such a feature, but thought I'd ask here in parallel. (I'm trying to find out if there are any DHCP clients out there which already support this capability.)
If you're curious: We have an application where we're doing auto-registration of an IP camera to an external server. If the camera's dynamically assigned address changes, we need to restart the auto-reg state machine. I've seen implementations where a socket is opened and a SIOCGIFADDR ioctl used to fetch the IP addr, but I'd sure like to avoid polling like this if possible.
View 1 Replies
View Related
Dec 26, 2009
For changing the the mac address of my lan card( eth0) in linux fedora 9(solphur) i used this command
And i could change my mac address successfully but now i couldn't connect to my network via a dhcp server ( in configuration section of my router im going to check my new mac address (because i want to spoof) ,how i can do that?
View 7 Replies
View Related
Mar 30, 2011
I have just bought a new netbook and now it runs ARCH linux.To connect to the internet I am using an Alcatel x220 USB 3G modem dongle and wvdial (with pywvdial) and here is wvdial.conf
Code:
[Dialer Defaults]
Init1 = ATZ
[code]...
View 5 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
Mar 23, 2011
find and install modem driver for the Alcatel X200 USB modem?
I've been all over the internet trying to locate Linux drivers but no success. Alcatel's website says is not supported, only in Windows. I'm sure there's gotta be a way to use the X200 in Linux.
View 1 Replies
View Related
Feb 8, 2010
i'm running Kubuntu karmic and i've been using a 3G Huawei E1552 modem to connect to the internet, everything was going well when suddenly my modem stopped working. I've tried reconfiguring everything, i even reinstalled kubuntu from scratch with no success.Here's a part of my /var/log/debug
HTML Code:
Feb 8 17:14:01 alberto-laptop kernel: [ 1532.099883] usb-storage: device found at 7
Feb 8 17:14:01 alberto-laptop kernel: [ 1532.099888] usb-storage: waiting for device to
[code].....
View 4 Replies
View Related
Jan 14, 2010
I am new to Ubuntu almost installed it after windows showed blue screen 4 ever n ever. However after installing ubuntu whenever I log in windows it doesnt detect any network connection but when I use Ubuntu it automatically does can it be that Ubuntu is causing any problem? And how to check how many packets are being sent and received through my wired network and do I have to install any drivers for my modem in Ubuntu.
View 5 Replies
View Related
Oct 5, 2010
This has been bugging me for quite a long time. I need to have a pptp connection to my university. I have tried to locate the error, but this has been a real trouble.
A little bit of history: My girlfriend had a laptop with M$ vista on it with a working PPTP connection. I had a laptop with Ubuntu, with which I couldn't get the PPTP working.
When my laptop crashed, I bought a new one on which I run a dual boot XP SP3 and Ubuntu. I also own a desktop (Dual M$ Win 7 / Ubuntu standard Karmic) and my girfriend also upgraded to Win 7.
Currently, the XP version is the only one on which I can get a connection. Both Ubuntu and the Win 7's give me a GRE proc 47 not received error. I know our router (a DAVOLINK DV2020) is notorious for not sending through GRE proc 47, but this either shouldn't be the case or it shouldn't matter, since I can make a perfect connection through the XP OS.
This is quite a handicap, since we both study at the university for which we require working VPN PPTP connections.
Settings:
Gateway: vpn-eur-pptp.eur.nl
Username: 123456ab@eur.nl
Password: password
Authentication: MSCHAP / MSCHAPv2
[Code].....
View 3 Replies
View Related
Jun 30, 2010
I was wondering if there was a Windows or Ubuntu way to limit the amount of data that is able to be sent over the internet between certain times, eg. Between the times of 7am and 7pm can only download 300 MB from the web, when this limit is reached the web is either disconnected or slowed down.
View 2 Replies
View Related
Aug 6, 2010
I am having (seemingly) random trouble with my wired network ever since I installed Lucid. I have no problem getting an ip address from dhcp. However, randomly the computer will boot and although I have an ip address I do not receive any responses for pings on the network nor can I browse the web. If I sudo /etc/init.d/networking restart a few times (or reboot) it will start working. However, restarting the networking services (as mentioned above) again will cause me to no longer receive responses for pings or browse the web.
Furthermore, I have never been able to successfully ping if I manually set an ip address. I have un-installed network manager and I am using /etc/network/interfaces to configure the network. Using Lucid Lynx 64bit on a Dell Precision. I have pasted below the output of a few working commands. When I switch between static ip and dhcp I am commenting/uncommenting the lines shown in /etc/network/interfaces.
sudo lshw -c network
*-network
description: Ethernet interface
product: NetXtreme BCM5754 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:08:00.0
logical name: eth0
version: 02
serial: 00:23:ae:99:4a:85
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.102 duplex=full firmware=5754-v3.24 ip=10.200.147.153 latency=0 link=yes multicast=yes port=twisted pair speed=100MB/s
resources: irq:78 memory:f7cf0000-f7cfffff
cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
auto eth0
#iface eth0 inet static
#address 10.200.147.56
#netmask 255.255.255.0
#broadcast 10.200.147.255
#gateway 10.200.147.1
iface eth0 inet dhcp
View 8 Replies
View Related
Jan 5, 2011
my system is belkin router with dhcp enabled.connected are: win xp desktop, win7 netbook, ps3 and fujtisu laptop with ubuntu 10.10, advent notebook xp. right now i have everything getting its ip addy over dhcp but i want to set static ip for each machine. (so the ps3 can run dmz and ocasionally the belkin changes ip address even tho the lease time is set to forever) i can do this with the windoze machines but i do not know how to set static ip and other info for the ubuntu machine.i did search for the forum for 'static ip' but the results that appeared were nothing to do with dhcp!
View 5 Replies
View Related
Feb 10, 2010
I set up environment according to BareMetalProvisioningBestPractices document, I think everything should be ok. Now trying to plug in new virtual machine for PXE install Linux. But something is wrong, DHCP waits couple of seconds, and then I receive:
PXE-E53: No boot filename received
PXE-M0F: Exiting Intel PXE ROM.
I think, all services required are started.
dhcp.conf on boot/stage is:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
[Code].....
pxelinux.0 was taken from RHEL4, but I've got image and trying to boot RHEL5. Maybe there is something?
View 6 Replies
View Related
Jun 8, 2009
i am using centos 5.2 . recently i have implementing transparent proxy but i faced issue. i received lots of messages in dmesg. i have 2 machine with same OS another machine are works fine with this same configuration
br0: received tcn bpdu on port 1(eth0)
br0: topology change detected, propagating
br0: received tcn bpdu on port 1(eth0)
br0: topology change detected, propagating
br0: received tcn bpdu on port 1(eth0)
[Code]...
View 1 Replies
View Related
Aug 14, 2009
I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
View 1 Replies
View Related
Mar 29, 2011
where packets are stored when they're received. After some googling, I think perhaps libpcap with mmap would be the solution. Does libpcap 1.0 and above support mmap?From my understanding, mmap would allow me to directly access the buffer without having to explicitly copy the packet to another buffer for me to do processing. I would also appreciate it if someone can let me know where I can find examples of such applications, as many examples of mmap I've found involves mapping a buffer for file operations, rather than integrating it with pcap functions like pcap_loop, pcap_next_ex etc.
View 1 Replies
View Related