Slackware :: Possible Error In Rc.0 And Rc.6 With Dhcp
Mar 26, 2011
Running -current (13.37) I noticed what looks like a bug in the rc.0 and rc.6 scripts. These check for a *.pid file in /etc/dhcpc to determine whether to stop dhcpcd with a -k parameter. In fact, the pid files are written to /var/run so the scripts are looking in the wrong place.
View 9 Replies
ADVERTISEMENT
Feb 14, 2011
I have a home lan which has always used static IP. I now have a new modem/router which has no way to assign IP's by mac address.Is there a way to set a client up to always have the same IP when the router is assigning the IP's?
View 9 Replies
View Related
Jan 6, 2010
The router is set up to use a 64-bit WEP passphrase. From what I've read, that means four different hex keys. One of which is meant to be active. I've tried each of the four generated keys, one-by-one. I've also tried putting them all in and activating one, but the syntax seems to be wrong.
I read Alien's Wiki on it, and various other sources. People keep suggesting wicd, but I want it to work with the rc.inet1.conf file first. Just so I know what needs to be entered in order for that to happen. I have a desktop to set up eventually as well, and that shouldn't need wicd.
My configuration file*: [url]
My lspci entry for the wireless card:
Code:
*I've edited this several times since upload, but nothing has worked so I don't think I need to keep it up-to-date. The online file is basic configuration, I believe.
View 2 Replies
View Related
Apr 30, 2010
I tried to setting a static ip from dhcp, I changed lines in /etc/rc.d rc.inet1.conf as follow:
# Config information for eth0:
#IPADDR[0]=""
IPADDR[0]="192.168.18.7"
#NETMASK[0]=""
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
and then I run "/etc/rc.d/rc.inet1 restart"
after that, can't access net, and couldn't ping the gateway[192.168.18.1], I have to change it back
View 4 Replies
View Related
Jul 6, 2010
My ISP provides my internet via DHCP. I have a home wireless router to provide internet access, wired for my desktop machine and wireless for my laptop. My question is: Is it possible to configure the router (the Access Point) to provide internet to the desktop and the laptop via static IP? Currently I have managed to configure the internet to them via DHCP and it works. I am just curious to know whether it is possible to provide the internet for them by static IPs, given that the internet that actually goes into the Access Point (the wireless home router), is DHCP.I fiddled with this a lot yesterday, but I only managed to get a working configuraton by DHCP for both the desktop and the laptop. If I supply them with static IPs, I can only ping the Access Point, but not beyond it. So does it at all make any sense to try to configure them by static IPs, i.e. is that virtually possible?
View 10 Replies
View Related
Jun 7, 2010
I have a slackware server running ISC dhcpd and bind, and I want to give a dual boot XP / Ubuntu client a fixed address based on its MAC.
I added a host stanza to my server's dhcpd.conf:
Code:
I restarted bind and dhcpd, restarted the client's networking, and it still requests (and receives) its previously leased address, which is not the fixed address I want it to get. I tried dhclient -r to make the client release the old address, didn't help. On networking restart it still gets offered the old (wrong) address. Could it be that dhcpd somehow hangs on to the old lease even after the client sent a DHCPRELEASE?
How do I tell dhcpd to forget about an old lease, and how do I make dhcpd hand out the fixed address (and only that address) I specified for a given MAC, regardless of what the client requests?
View 6 Replies
View Related
Jan 10, 2010
I've been using wicd since starting out with 13.0 and it works flawlessly when using three different WPA wireless networks and a couple of wired networks. But, every time I get on a virgin train and try and connect to the internet via the open wireless network, wicd just hangs at the dhcp stage. If I stop wicd and edit rc.inet1.conf to contain this:
[code]...
View 5 Replies
View Related
Mar 28, 2010
Looking at var/log/messages below, it looks like I'm not being offered a lease on this particular network. I can successfully connect to the network because iwconfig wlan0 reveals my network ssid and the access point I'm connected to. But pinging google.com gives me nothing..
Code:
root@darkstar:/# tail -f var/log/messages | grep dhcpcd
Mar 28 15:45:42 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:13 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:44 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
[code]...
View 1 Replies
View Related
Apr 20, 2010
During installation I set eth0 to use dhcp to get an IP address. I then installed gnome and networkmanger which handles my interfaces and works fine. But during bootup the system pauses for 5 seconds or so while it polls for dhcp. It then times out and gives me a 169.254.xx which is then replaced when networkmanager starts up at the end of bootup.
How do I stop the polling to cut out the 5 seconds?
View 14 Replies
View Related
Jan 20, 2011
During Slackware 13.1 setup, I chose the hostname stella-sl2. This hostname is also the one that the system is displaying before I configured network access. After configuring wired network access to my Apple Time Capsule, my hostname suddenly changed to INTERFACE='eth0'. As a result I'm noticing some very strange things, like the login prompt which has become "INTERFACE='eth0' login: ".
After configuring wireless network access to the Time Capsule, the hostname changed to "INTERFACE='wlan0'". Note that, during boot, wlan0 is brought up AFTER eth0.
Also strange is this:
bash-4.1$ cat /etc/HOSTNAME
INTERFACE='eth0'.DNSSERVERS='10.0.1.1'
bash-4.1$ /bin/hostname
INTERFACE='wlan0'
bash-4.1$
Until now, it was only a minor annoyance, it didn't prevent anything from happening, internet connection was not affected. But now I'm configuring sendmail which needs to talk to a relay SMTP server, and sendmail "HELO"'s itself using the bogus hostname:
>>> HELO INTERFACE='wlan0'
<<< 501 HELO requires valid address
554 5.0.0 Service unavailable
Probably this is caused by the Time Capsule not adhering to standards. However, the Time Capsule's firmware is the latest version, so I cannot fix this. Is there a way to prevent dhcp from changing the hostname? How can I make sure that the hostname that I configured during setup remains active?
View 2 Replies
View Related
Oct 5, 2009
For a school project I need to install a Fedora virtual machine (on VMware Server), setting it up as a server. I am encountering the following problem.
When I want to 'yum install dhcp' I get the following error message:
Quote:
I think the link to the download site is not right.
I have checked internet and DNS acces, both are correct and tested..
I have opened the /etc/yum.repos.d/fedora-core.repo file, and this is the entry:
Quote:
Im using Fedora Core 5.
View 7 Replies
View Related
Jan 19, 2011
after install slackware with gnome using gnome slack build it is work fine Except some thing :-
the volume it is not work and get this error ((The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured. You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu.
No volume control GStreamer plugins and/or devices found.)) and the System Monitor give me this error when i want check the state of memory and processor ((There was an error executing 'gnome-system-monitor': Failed to execute child process "gnome-system-monitor" (No such file or directory)) and the memory flash not work and give me this error ((Error org.freedesktop.DBus.Error.AccessDenied.))
View 6 Replies
View Related
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
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 4, 2010
I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices.My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server.One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network.
View 4 Replies
View Related
Oct 31, 2010
I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices. My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server. One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network. However I have no idea how this could be setup.
View 2 Replies
View Related
Nov 20, 2010
I have just started to work on Ubuntu (Ubuntu 10.4 LTS) and I am having some problems to get a WUSB600N vers. 2 802.11n adapter working. I have followed the procedure described at [URL] . The compilation has been successful and I can see the kernel loaded an the module detected:
Code:
adrien@ubuntu:/$ lsmod | grep rt3572
rt3572sta 612272 1
adrien@ubuntu:/$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[code]....
The wireless adapter is detected by the system and it can scan the neighboring APs (cf. below with MAC address made unreadable):
Code:
adrien@ubuntu:/$ sudo iwlist ra0 scan
[sudo] password for adrien:
ra0 Scan completed :
Cell 01 - Address: --:--:--:--:--:--:--
Protocol:802.11g
[code]....
View 2 Replies
View Related
Nov 17, 2010
I'm trying to set up a PXE boot server on a PC running Slackware 13.0 using the default apps and info shipped with that Slackware version but to no avail...Carefully reading the Slackware 13.0 README_PXE I've put together this dhcpd.conf file:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
[code]....
View 6 Replies
View Related
Jan 14, 2011
pls delete this post if I should not do this as it is included in [URL]..How do I recover from the 99 error when I start my system? I can only get to my Slackware by booting into it from the Slackware DVD.I have re-run lilo but I keep getting the 99 error on start up.
View 10 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
Mar 22, 2011
after update to slackware current 4 days ago i cant get sound working in wine in starcraf 2 i mean i got sound in instalation but not in game and i get error when i wanna configure sound in winecfg
err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element
err:alsa:wine_snd_pcm_recover underrun occurred
err:alsa:wine_snd_pcm_recover underrun occurred
in game i dont got that error but sound dont work btw my sound card is asus xonar essence stx
View 2 Replies
View Related
Jul 2, 2010
I've just install qemu-kvm from [URL]
I run modprobe kvm and modprobe kvm-intel to load the modules, but the second command won't work.
It gives the following error -
Code:
root@mika:/home/mika# modprobe kvm-intel
FATAL: Error inserting kvm_intel (/lib/modules/2.6.33.4/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported
View 10 Replies
View Related
Oct 14, 2010
I was having a go at compiling the latest Amarok 2.3.2. As I run make I get the following error
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[1]: *** [src/core-impl/collections/sqlcollection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make: *** [all] Error 2
I'm running Slackware64-current. how to prevent this error arising?
View 13 Replies
View Related
Aug 14, 2010
I need handbrake software so badly so I went to alien's slackbuild to download the handbrake.However,it ends with error after compiling-
Does it mean i miss something of gtk?
View 8 Replies
View Related
May 21, 2011
I recently purchased a Dell Vostro v130 which came with Win 7 pre-loaded. I've been using it for a few weeks with no problems, but now I'd like to install ubuntu studio. I made it through the the partitioning part but now I'm getting a networking error: "Network autoconfiguration failed. Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly."
I've been using the wireless connection in win 7 without any problem so I don't know why I'm having a problem now.
View 9 Replies
View Related
Feb 10, 2010
i have installed dhcp server on RHEL5.after instalation when i want to restart it.it shows failed message. rpm package is also installed.(dhcp-3.0.5-13.el5) dhcpd.conf file is also in /etc directory
View 1 Replies
View Related
Jan 24, 2011
This dhcp server is configured with redhat enterprise edition. I found that logs are generating in the following path /var/log my doubt is how can i setup the logs generating for a specified day.
View 1 Replies
View Related