General :: Networking - Set Up DHCP-configured Access Through System Box?
Mar 26, 2010
I would like an old desktop box to use my laptop as a router to access the internet. Here is my setup:
I have one ethernet port in the side of my laptop which I want to use to get internet access to my desktop computer. The laptop is connected to the LAN via a wireless link. Both systems run Linux. The desktop autoconfigures itself using DHCP. The laptop is a Kubuntu system. I do not have any crossover cables, though wireshark on the laptop sees the DHCP requests from the desktop just fine, so I doubt that I need one.
What do I have to do to make this work?
View 2 Replies
ADVERTISEMENT
May 18, 2011
I have an ARM system that has been pre-loaded with some variant of Linux. I don't know the distribution; I can only see the kernel number in dmesg.
In /etc/network/interfaces, I set eth0 to
auto eth0
iface eth0 inet dhcp
After I save and reboot (or run ifdown eth0 followed by ifup eth0), I can see that the networking system is searching for a DHCP server and actually obtains a lease on a valid IP address, but when I run ifconfig, the interface has not been assigned the address that it pulled down from DHCP. It has been assigned a 192.168.. address.
I noticed in dmesg that a variable "ip" is passed to the kernel at boot with the same address that is overriding my DHCP address. How can I disable this overriding behavior? I noticed a dynamic environment variable in u-boot called ip. I set it dhcp and saved it to nv storage, but the problem persisted. I tried to set the u-boot environment variable ipaddr to dhcp, but was informed that this wasn't a valid value for the variable.How can I get the interface to be configured through DHCP?
View 1 Replies
View Related
Feb 20, 2010
I need a linux distro who provides the following:1) Has an partitioner who can resize fat , ntfs ,ext* , .....filesystems.2) Has an excellent hardware support3) The installer can install console or graphic mode 4) The updating can be done via console5) In console can be configured internet via: static IP , DHCP , PPPOE and preferably to have support for USB modems.
View 8 Replies
View Related
Dec 16, 2010
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
My files are as follows:
View 2 Replies
View Related
Apr 14, 2010
I need to connect to upstairs windows-7 machine that is connected to router. I have laptop downstairs running F12 (gnome) with wireless connection.
I need to access my music files on upstairs computer. Do I need samba?, without it so far I am getting an error can not mount the windows machine...
View 2 Replies
View Related
Apr 14, 2010
can this utility be configured to add more system-config stuff?is there a man page for it?
View 1 Replies
View Related
Mar 16, 2011
I have configured my system to connect to a wireless network on bootup, but now every time I boot I have to wait and watch it connect (it outputs some dhcp connect stuff) which delays the boot process. is there any way to just initialize the script and then go on with the boot process instead of letting it output some pointless crap and waiting for it to end?
View 5 Replies
View Related
Sep 1, 2011
I assigned a static ip to my Ubuntu Server machine and it cannot access the web now. It can access anything on the LAN. The other two nodes on the network (one wifi one hardwired) can both access the web just fine.
View 1 Replies
View Related
Apr 18, 2011
I have a simple system at home where a DSL router is used as a basic dhcp server with one port forward for ssh to a server. I need to allow my daughters, ages 14,12 and 10, to access the net and also email but I want to have complete control and logging. What I'm looking to do is set up the Ubuntu file server I already have on the network to act as a gateway and also add content management and logging as step one.
I also want to add an email server so that all the email comes into the Ubuntu server and then is allowed to be accessed by outlook on their machines after spam/content scanning for valid emails as step two. My question is what, if any, additional software do I need and what options do I have. I've played with dhcp servers at work but never got much beyond ip assignment and network booting so I'm unfamiliar with what is needed for content management and such. As to the email server I've never even played with this at all so I'm completely in the dark as to what I should be looking at to start with. I'm looking for directions, RTFM is fine but right now I'm not sure even WHAT manual/manuals I should be reading.
View 1 Replies
View Related
May 16, 2011
anybody used or configured KOHA (an open source Integrated Library System) on windows Xp or vista
View 1 Replies
View Related
Apr 27, 2010
How to find in linux(fedora12) if dhcp is running on network?
View 3 Replies
View Related
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
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 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 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
Aug 19, 2009
5.10 Breezy configured as machine controller. Works great eth0 is a fixed IP to communicate with controller comms board. Not easy at all to alter - the comms board is hard coded to listen on eth0 for commands.
I can use eth1 as the default gateway and ping google.com, etc. But when I now attempt to communicate with the controller with netcat, e.g.
Code: echo !HH | nc 192.168.1.6 80
I obviously never get an answer since the request is passed via eth1. Using the -g option with netcat doesn't work either. I had a look at iptables but it doesn't seem to be able to do what I want. How I can still use eth0 as my communication port to the controller whilst eth1 is the default gateway?
View 17 Replies
View Related
Apr 7, 2010
I've configured a complete 9.10 system in a VM using VMware. It's a very slim install done from the mini.iso and simply logs in as a user, starts X using ICEwm, and launches the latest Citrix ICA client to attach to a server. It works great, but now I'd like to take this configured system and make a bootable CD from it. The goal is to make a CD for a lab of older Dell GX270s to boot into a simple student desktop for Microsoft Officeapplications and internet browsing.
View 2 Replies
View Related
Jul 26, 2010
I have used gparted for backup of my system, but now I have RAID configured and gparted didn't recognize my drives: Disk /dev/md0 doesn't contain a valid partition table
I have 2x500Gb HDDs configured in RAID and primary and logical partitions set by LVM (on Debian lenny 5.03)
Code:
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cb4b9
[Code]...
What program can I use to make a backup of my installation into /dev/dm-1 (this drive is mounted as /home)?
View 1 Replies
View Related
Apr 20, 2010
alright so i set up dhcp server and my clients are getting ip's, can ping each other, and can ping/ssh the server. but nowhere beyond that.
however if i ping an externel site, i get its IP addr, but no pings (100% loss)
im ripping my hair out over this. i know that iptables is right, but i dont know about dns
idk if this helps:
Code:
pavel@ubuntu-server:~$ cat /etc/network/interfaces
auto lo br0 eth0 eth1
iface lo inet loopback
#mapping hotplug
[Code].....
View 9 Replies
View Related
Jun 21, 2010
I must be very thick as i cannot seem to get my dhcp clients to connect to the Internet properly.
on my lucid server i installed dhcp3 server and bind9, i can ping and dig all on the local network. on the clients however, as soon as i go out of the local network there's messages like "unknown host www.google.com" or "network is unreachable".
View 9 Replies
View Related
Feb 28, 2011
I'm trying to tighten up my network a bit. I've given my dhcp server a list of static mac addresses and ip's for computers i know, and a very short range of dhcp addresses that are redirected to kittenwar.My dilemma is that if someone has my wireless network password, or an ethernet cable, they could set the ip address manually and gain access.how can i deny them this pleasure?im running dhcpd3, and iptables on a debian/lenny intel 2.4 box. dd-wrt is running in a linksys wrt54g and is handling the wireless security
View 7 Replies
View Related
Feb 12, 2010
I am trying to access the cvs; I issue following commands :
After several minute later.....
ssh: connect to host cvs.tuxbox.org port 22: No route to host
cvs [checkout aborted]: end of file from server (consult above messages if any)
I get above response. In past many occasion I access this cvs repository without any problem but now without any change in client (in my computer) the whole system kicking cvs command out altogether. I wonder what gone wrong suddenly? I manage to update the same repository using cvs update; never had any problem before in past.
Is any one came across such sudden change in cvs access.
View 3 Replies
View Related
Dec 29, 2010
if I use Linux File server with NFS Configured, Can MAC clients (workstations) access the files on Linux server over the LAN network
View 7 Replies
View Related
Jun 29, 2011
Using Unity in Ubuntu 11.04,
OK I've figured out to to set up a VPN, by clicking on the Networking Icon and clicking VPN Connections->Configure VPN and setting up the details... but how to I actually USE the VPN I set up??? I thought it would appear in the VPN Connections but no the only things in there are Configure VPN and Disconnect VPN!
UPDATE: Nevermind.. I rebooted and it appeared in the VPN Connections as expected
View 6 Replies
View Related
Aug 15, 2010
I am coming from Windows XP Pro, on the same machine (and where I am writing this post from) so the internet clearly works on XP. On F13, the eth0 connection is activated and the drivers for the NIC chip were installed with the OS. The NIC is Intel Pro/100 VE. The problem that occurs is that the system updater (in GNOME) can access the internet, and installed a bunch of updates after installing the OS. I know it can get to the internet because the updates worked and in the System Monitor, I can see both uploading and downloading occurring during the updates. Now the problem is that when I open FF, I can't seem to get to pages, and I get the usual FF error (pic -- [URL]). However, I CAN get to [URL] as well as [URL] , but I cannot access several other subdomains on fedoraproject.org . I also cannot get to any other page online, ([URL] for example).
View 8 Replies
View Related
Jan 4, 2009
I have installed Fedora 8 on an old PC to use as a home network and I am having trouble getting a Windows PC running XP to get through to the internet, but I am able to access the internet from the Linux box with no issues. I can ping the gateway on eth0 from the Linux box, but I can't ping it from the windows PC. I am able to ping the IP address for eth0 from the Windows PC. My internet gateway is a modem/router from Hughes net. I also have a Netgear router between the Linux box and the Windows PC, but there doesn't appear to be any issues because I can ping both NICs from the Windows PC. I have pasted my Linux NIC config below. code...
View 7 Replies
View Related
Aug 21, 2010
A friend of mine is building a data acquisition system for a vehicle that will wander through city streets and roads and perhaps even off-road places. At the end of the day, back at the garage, the data must be downloaded and, if needed, upload an update of the data acquisition program. The network is wpa_supplicant, and it was chosen an USB device, because the original computer did not had any wireless interface and do not have any other possibility. The problem is that, when the vehicle comes back, very often there is no access to the on-board computer, or the connection lasts just a few minutes.
The computer must be reinitialized so the connection is back and the scripts run completely. Sometimes the connection is made, but the guys are so used to restart the computer that they do it anyhow, and then the connection does not come up, they have to restart it again.I have being thinking, as the vehicle drives all around, perhaps finding some access points along the day, if this connection trials - and failures - are messing up something. Or, the connection instability as the vehicle approaches the garage, could be driving his scripts mad?
View 2 Replies
View Related
Jan 17, 2011
I have configured bridging based on information from a few web pages Google found. Traffic is being seen (using tcpdump) on both interfaces that are configured. However, the traffic is not going between them. What could be missing?The bridging machine has 3 NICS: eth0, eth1, eth2. eth0 is configured normally with an IP address (I can login via ssh to it just fine). The bridge is named br0 and uses eth1 and eth2 (a dual NIC card for convenience identifying which NICs are the bridge).
A script executes these commands:
Code:
bash-4.1# /etc/rc.d/rc.bridge-up br0 eth1 eth2
EXECUTING brctl addbr br0
[code]...
View 6 Replies
View Related
Jun 30, 2010
I have a hub with some VoIP phones attached as well as a machine that is used to record the calls. This all works fine as all packets coming to/from the voip phones are also seen by the recorder so it can process them as necessary.
What i want to do is put another machine between the hub and recorder and have it act as a transparent firewall. So far i've managed to successfully set up a bridge on ports eth1 and eth2 and all the packets destined for the recorder go through the bridge fine. The problem is that the bridge is acting as a switch so the packets from the phones are received on eth2 but don't get retransmitted on eth1. Is there any way to configure the bridge so that all packets received on eth2 are transmitted on eth1, i.e. have it act as a hub instead?
View 2 Replies
View Related