Ubuntu Networking :: Set Up A Permanent DHCP Lease For My MAC Address - Share Internet ADSL Connection

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


ADVERTISEMENT

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

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

Fedora Networking :: DHCP Lease Renewal Failing On Wired Ethernet Connection?

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

Ubuntu Networking :: Cannot Obtain DHCP Lease ?

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

Ubuntu Networking :: Use Internet Connection From LAN To Share Internet Connection Through Wireless?

Jan 9, 2011

I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.

View 3 Replies View Related

Networking :: Notification From DHCP Client On Lease Change?

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

Networking :: Redhat Does Not Retry Renewing DHCP Lease More Than Once?

Apr 23, 2010

We have 20+ Redhat servers on our network and every so often our DHCP server goes down. When it comes back up we have to go around to all of our RedHat servers and restart networking manually. Other OS's (Ubuntu, Windows, etc..) will continually try to get a DHCP lease so that when our DHCP does come back up it requires no work from us for them to get back on the network. But it seems that Redhat only tries once and if it fails it never tries again. Have to go around to 20 different servers (some of them are at remote locations) is less then ideal when this happens. how we can get Redhat to continually try to get a DHCP lease like other OS's?

View 1 Replies View Related

Networking :: Getting An Ip Address From The DHCP Router, But Cannout Ping Any Other Ips Or Connect To The Internet?

Jan 31, 2010

I've only been using linux for a few days so I don't know all the tricks. I'm pretty savy configuring windows networks however.My adapter is (according to windows) a: CNet PRO200WL PCI fast ethernet adapterLinux says it is a: 21x4x DEC-tulip compatible 10/100 EthernetI do seem to be getting an ip address from the DHCP router, but I cannout ping any other ips or connect to the internet.I've tried a bunch of different options, switching things back and forth, but it still doesn't work, and honestly i don't even know what some of the options mean.

ALSO, if this helps:
paladin:~ # ifconfig eth0
Eth0 Link encap:Ethernet HWaddr 00:08:A1:03:3C:99

[code]....

View 14 Replies View Related

Ubuntu Networking :: Ionitx Can't Get Wired Ethernet To Work ( No DHCP Lease )?

Jun 5, 2010

I have a Zotac Ionitx A-U. I can't get it to establish an internet connection with the wired ethernet within Ubuntu. The chip is detected, but trying to bring up the connection stalls out at trying to obtain a DHCP lease, like this:

DHCP DISCOVER ...
DHCP DISCOVER ...
No DHCPOFFERS received
Specs:
Ionitx A-U
Ubuntu 10.04 x64 kernel 2.6.32-22 (also didn't work in 9.10)

[Code]...

View 3 Replies View Related

Networking :: Dhcp Lease Time Algorithm Apparently Imprecise?

Mar 3, 2011

The system I am working on is a xdsl board running Linux kernel 2.6 and receiving dhcp address from a Microsoft XP PC. when looking through the dhclient.leases file I can see there's something wrong with renew time and stuff.strange calculation. as far as you know is this normal? You may find below the dhclient.lease file.

lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";

[code]....

View 2 Replies View Related

Networking :: DHCP Lease Under SuSE Is Not Working., Limited At 10 Minutes?

Jun 22, 2011

I got a strange issue here: We are using ISC DHCP v4 which is default in Open SuSE 11.4. These two options 'default-lease-time' and 'max-lease-time' are set in all subnets, with values between 43200 (12 hours) to 518400 (144 hours). See partial dhcpd.conf below please.Now the lease time from Windows client's ipconfig output is only 10 minutes. Why? (dhcpd on servers restarted many times. ipconfig /release, ipconfig /renew on client run many times)

Code:
lease-file-name "/etc/dhcpd.leases";
default-lease-time 43200; # 12 hours

[code]....

View 1 Replies View Related

OpenSUSE Install :: PXE / Dhcp / 11.2 - Preserve Dhcp Lease On Reinit Of Driver?

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

Fedora Networking :: 11 - Share My Internet Connection With Wireless Connection

Jun 21, 2009

I have installed Fedora 11 recently. I want to share my Internet connection.

I have e LAN connection eth0 which is connected to internet.

I have a Wireless connection wlan0.

I want to share my internet connection with wireless connection.

View 3 Replies View Related

Networking :: Use The Laptop With The Wireless Connection To Share The Internet Connection?

Feb 4, 2010

I have two linux laptops. Currently, I'm using both of them at work, side-by-side. Now the problem is, I'm connected to a wireless router, but the wireless only works on one of the laptops. So I'm stuck with one laptop that has no access to the internet. Both machines do, however, have working ethernet nic cards. So, I was wondering if I could use the laptop with the wireless connection to share the internet connection with my other linux machine and access the internet on both of them. Or as an alternative, just use the internet on the machine without wireless and be able to switch back and forth, that would increase my productivity like 30 fold.

View 5 Replies View Related

Ubuntu Networking :: DHCP Update Killed Internet Connection?

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

Networking :: Setting Up Internet Connection With DHCP On Dreamlinux

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

Ubuntu Networking :: Internet Connection Sharing In Network Manager / No DHCP Server

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

Ubuntu Networking :: Could Use LAN And Share Internet Connection Between PCs?

Jul 10, 2010

I'm trying to connect two PCs to the Internet (or at least to create a local network) using a crossover cable. My main PC (the one that has two ethernet adapters and is connected to the Internet) runs Windows 7 and my secondary PC runs Ubuntu 10.04.Unfortunately, it doesn't work. Both systems send out packages but don't receive anything. How can I possibly fix this, so that I could use LAN and share the Internet connection between PCs? Does Windows need special software to recognize Ubuntu (or the other way around)?

View 1 Replies View Related

Fedora Networking :: Internet Very Slow / DHCP Doesn't Work W/ Wireless Connection

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

Slackware :: Internet Connection (ADSL) As Common User?

May 12, 2011

how to make a user, not root, connect to internet? without having to type as root:Quote:# pppoe-startin an ADSLAlso ... to exit the Internet having to type, also as rootuote:# pppoe-stopBuilding on the topic: Is there a graphical interface for ADSL connection ?

View 1 Replies View Related

Ubuntu Networking :: How To Share Internet Connection Wirelessly

Mar 12, 2010

I have network manager applet 0.7. How to create a wireless network? I have an internet connection and I want to share it with other computers wirelessly.

View 2 Replies View Related

Ubuntu Networking :: Share An Internet Connection Between 2 Computers

May 30, 2010

i have two machines both on ubuntu 10.4 connected to a network via port switcher, 2 rj45 network cables auto eth0 is setup to share with other computers, i can ssh in and out of both, so the network is all running but i want to know how to share my single dongle internet connection between the 2 computers

View 4 Replies View Related

Ubuntu Networking :: How To Masquerade (Share Internet Connection) In 10.04

Aug 12, 2010

I have two wireless cards on my pc. One connected to the Internet and one free. I would like to connect the free one to a adhoc network with my netbook to share my connection because my netbook cannot reach the other side of my home.

View 1 Replies View Related

Ubuntu Networking :: Share Internet Connection To A Win 7 Machine?

Aug 18, 2010

I want to share my internet connection with my netbook which has a Win 7 starter OS. This is what I did: in Network Connections I set the IPv4 Setting of my network card to shared with other computers, plugged in the network cable into both machines, and now they both see a connection. Win 7 only sees the connection as Unidentified network with "No internet access". What should I do?

View 3 Replies View Related

Ubuntu Networking :: Share A 'nonstandard' Internet Connection?

Oct 29, 2010

I have an internet connection called 'tether0' in ifconfig.I also have a connection eth0 which is connected to a wireless router. I'd like to share the 'tether0' connection with the wireless router, so that wireless clients will access the internet through tether0.The guides I've seen don't seem to apply to my situation.how I should proceed? I'm not very experienced with networking,but understand most of the basic and intermediate terminology.

View 1 Replies View Related

Ubuntu Networking :: Error Trying To Share Internet Connection

Feb 19, 2011

In the documentation at [URL] it says

Quote:

Note: To clarify the above example here is an example configuration that will work - * 1. You are already connected to the internet using your wireless on port wlan0 * 2. The ethernet port eth0 is connected to the PC that needs to share your internet connection (or you could wire eth0 to a router for multiple machines)

I am trying to do precisely this, with my laptop aready connected to the internet via my HTC Hero on port usb0, and the router needing to share the connection plugged into the laptop's port eth0. Port eth0 is set to "Shared" as the doc describes.

The router in question is an old WiFlyer pocket AP, which has a fixed and unchangeable IP address on its wired port of 192.168.7.77. What happens is that when I plug it into the laptop's eth0, NetworkManager pops up the "eth0 Connected" message...and then "Disconnected"...and then "Connected"...and then "Disconnected"...etc.

I want to be able to share my cellphone's Internet connection through the laptop and out into the WiFlyer so that others can get a wireless connection in a location that has no other form of connectivity.

[Rooting the Hero and making it an AP won't work: it can't run Froyo and it can't broadcast wireless.]

View 6 Replies View Related

Ubuntu Networking :: Need To Share Internet Connection Wirelessly

Mar 30, 2011

I am running Ubuntu 10.10 on several desktops but they are not close to my router. I would like to use a wireless connection to go from my router to my Ubuntu laptop, then a wired connection from my laptop to a desktop. My laptop is WiFi enabled and has an ethernet connection.

View 1 Replies View Related

Ubuntu Networking :: Looking To Share Internet Connection Through Ethernet

Aug 5, 2011

After some fiddling around, I have come to the conclusion my current wifi access point hates my other computer's Broadcom chip or the drivers thereof. So, my current idea is as follows. I would like to use my netbook to connect to the wireless network, and then connect my other computer to it through ethernet. My netbook is dual boot XP and Ubuntu (think Ubuntu is a version behind) and I would be fine to set up this sharing in either and just leave it on as a repeater station. My other computer is dual boot XP and Fedora and I would prefer this work to allow me to have network in both. I have a straight-through cable and have verified that my network card supports the automatic crossing over behavior.

View 1 Replies View Related

Server :: Blocking Dhcpd Address Lease For Specific MAC Address?

Sep 4, 2009

I hv Cent OS 5.3 installed as server. I hv a network of approx 100 desktops and laptops. For a security purpose i want to block certain laptops from gaining a the network access using dhcp. Can we block the ip address leasing if a specific MAC address request for a ip lease?

View 7 Replies View Related

Fedora Networking :: No Internet Connection With Static IP Address?

Feb 17, 2009

I am a windows user with no linux experience prior to Friday. Im setting up a music server (SqueezeCenter) running Fedora 10.

With the help of posts of this site Ive made good progress with complicated stuffnamely getting Samba and VNC working. My Fedora machine and my windows machines now see each others shared files, and I can control my Fedora machine from my windows machine. (The Fedora machine will ultimately be headless.)

But Im having trouble with a seemingly simple issue setting up my Fedora box with a static IP address. With DHCP enabled on my network Ethernet adapter, all works fine. I then used the System>Administration>Network menu to disable DHCP and to assign the same IP address that DHCP chose. When I do this, two cases need to be distinguished:

1. If I keep the box checked for Controlled by Network Manager, the Network Manager Applet reports a network connection, I nevertheless cannot access the internet, but my Fedora machine is able to communicate with my Squeezebox music player (connected to my network via my DSL modem Ethernet connections, and with a fixed IP address). 2. If I uncheck the box Controlled by Network Manger, then the Network Manager Applet reports no network connection and my Fedora machine is not able to communicate with my Squeezebox music player (and I of course have no internet connectivity).

Ive seen references on other posts suggesting that the Network Manager service be disabled. But I see no way to manually configure the network.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved