Need help switching from connecting through router to direct connecting
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box at the bottom that says -- Update Name Servers and Search List Via DHCP That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the Runlevel Editor and save Network, so I thought shutting that down would be the ticket. Well, when I select it, a pop-up came up saying it would also have to shut down about 20 other services. I'm hoping that's not what I have to do to change this networking over to DHCP. If so, then hopefully bringing Network back up will automatically bring all of those other services back up. If not, then that's a real pain in the ass (I'd have to write down all of those other services so I could come back and re-enable them one at a time). Someone please tell me that getting set up for DHCP is a lot easier than that. Thanks, Greg Wallace
On Tuesday 10 October 2006 15:48, Greg Wallace wrote:
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box at the bottom that says --
Update Name Servers and Search List Via DHCP
That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the Runlevel Editor and save Network, so I thought shutting that down would be the ticket. Well, when I select it, a pop-up came up saying it would also have to shut down about 20 other services. I'm hoping that's not what I have to do to change this networking over to DHCP. .....
Some cable modems/service providers tie the IP address to the MAC address so the cable modem has to power down completely(unplug power supply) and reboot before the changed hardware will be allowed a new IP. Otherwise, the cable modem sees the new MAC address as a request for a 2nd IP address and denies the connection.
On Tuesday, October 10, 2006 @ 5:01 PM, rmyster wrote:
On Tuesday 10 October 2006 15:48, Greg Wallace wrote:
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box at the bottom that says --
Update Name Servers and Search List Via DHCP
That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the Runlevel Editor and save Network, so I thought shutting that down would be the ticket. Well, when I select it, a pop-up came up saying it would also have to shut down about 20 other services. I'm hoping that's not what I have to do to change this networking over to DHCP. .....
Some cable modems/service providers tie the IP address to the MAC address so the cable modem has to power down completely(unplug power supply) and reboot before the changed hardware will be allowed a new IP. Otherwise, the cable
modem sees the new MAC address as a request for a 2nd IP address and denies
the connection.
But I can't even set Linux up to accept an IP address from the ISP. It's set up pointing to the router and the box I need to check to tell it to go to the modem directly is greyed out. If I could get that set and I still couldn't get a connection, then that would be when I would need to worry about having to power down the modem, right? I don't think power down the modem is going to open up that box under "Update Name Servers..." under "DNS and Host Name" in YAST, is it? Greg Wallace
On Wednesday 11 October 2006 00:23, Greg Wallace wrote:
But I can't even set Linux up to accept an IP address from the ISP. It's set up pointing to the router and the box I need to check to tell it to go to the modem directly is greyed out. If I could get that set and I still couldn't get a connection, then that would be when I would need to worry about having to power down the modem, right? I don't think power down the modem is going to open up that box under "Update Name Servers..." under "DNS and Host Name" in YAST, is it?
Is your router really a DHCP server, or is it a "DSL modem". i was really confused when i switched providers and went from a DHCP-based router to a DSL modem. i spent all day trying to get a DHCP response from the thing, only to find out later that it isn't a DHCP server at all. With a DSL modem you can use the yast DSL setup tool or 'pppoeconf' tool (search yast software manager for pppoe) to set it up. (Setting it up is a lot easier than it sounds.) If your router only has one port, it may indeed be a modem-style router. In that case you'll need the "dial-in" number your provider gave you plus the password (though my provider ignores the password because the router is tied to my telecom account). Simple give those values to yast/pppoeconf, and you're all set. You can then use kinternet to connect/disconnect, or use the 'pon' and 'poff' tools (part of the pppoe stuff). -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On 10/10/06 15:48, Greg Wallace wrote:
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box at the bottom that says --
Update Name Servers and Search List Via DHCP
That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the
For 9.3 (other versions may vary), in Yast/Network devices/Network cards, click on "Change" (already configured devices), next highlight the device you wish to reconfigure, and click "Edit". The next panel gives the choice of setup method, DHCP or static IP. Change this to DHCP, and you will be able to change the name server over to DHCP update (if it doesn't get done automatically, that is). It should not be necessary to bring down the network before doing any of this.
On Tuesday, October 10, 2006 @ 6:41 PM, Darryl Gregorash wrote:
On 10/10/06 15:48, Greg Wallace wrote:
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box at the bottom that says --
Update Name Servers and Search List Via DHCP
That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the
For 9.3 (other versions may vary), in Yast/Network devices/Network cards, click on "Change" (already configured devices), next highlight the device you wish to reconfigure, and click "Edit". The next panel gives the choice of setup method, DHCP or static IP. Change this to DHCP, and you will be able to change the name server over to DHCP update (if it doesn't get done automatically, that is). It should not be necessary to bring down the network before doing any of this.
Well, going through Network Devices/Network Card did let me switch to DHCP. However, nothing seemed to change on my system until I re-booted. Then, when I went back into DNS and Hostname, I got the following -- The resover configuration file (etc/resolv.conf) has been temporarily modified by /usr/bin/Networkmanager. You have two choices 1. Modify the current (changed) version of the file 2. Press "Accept" now and continue editing other (nonresolver) data. You could return to this dialog later when the above service has terminated. No matter which of these I choose, the screen comes up looking identical. Now, the "Update Name Servers and Search List Via DHCP" box is checked, which is what I want (and it's grayed out as well, which I guess is no big deal since it's set like I want it to be). But I'm not picking up any of the IP name servers. All of those are blank. If I try to go to the Web via firefox, I get "Server Not Found..." for any web site I try. Somehow, it needs to pick up those name servers, but I thought that would happen automatically since I'm now set to use DHCP. Any idea what's causing this latest problem? Thanks, Greg Wallace
On 10/10/06 20:56, Greg Wallace wrote:
On Tuesday, October 10, 2006 @ 6:41 PM, Darryl Gregorash wrote:
On 10/10/06 15:48, Greg Wallace wrote:
My router just went out and I'm trying to set up my Linux box to connect directly through my cable modem. Under DNS and Hostname, there is a box
at
the bottom that says --
Update Name Servers and Search List Via DHCP
That's what I want, but the box is grayed out. I seem to recall that something has to be shut down before that can be changed. I went to the
For 9.3 (other versions may vary), in Yast/Network devices/Network cards, click on "Change" (already configured devices), next highlight the device you wish to reconfigure, and click "Edit". The next panel gives the choice of setup method, DHCP or static IP. Change this to DHCP, and you will be able to change the name server over to DHCP update (if it doesn't get done automatically, that is). It should not be necessary to bring down the network before doing any of this.
Well, going through Network Devices/Network Card did let me switch to DHCP. However, nothing seemed to change on my system until I re-booted. Then, when I went back into DNS and Hostname, I got the following --
The resover configuration file (etc/resolv.conf) has been temporarily modified by /usr/bin/Networkmanager. You have two choices 1. Modify the current (changed) version of the file 2. Press "Accept" now and continue editing other (nonresolver) data. You could return to this dialog later when the above service has terminated.
No matter which of these I choose, the screen comes up looking identical. Now, the "Update Name Servers and Search List Via DHCP" box is checked, which is what I want (and it's grayed out as well, which I guess is no big deal since it's set like I want it to be). But I'm not picking up any of the IP name servers. All of those are blank. If I try to go to the Web via firefox, I get "Server Not Found..." for any web site I try. Somehow, it needs to pick up those name servers, but I thought that would happen automatically since I'm now set to use DHCP. Any idea what's causing this latest problem? First you need to make sure your ISP is actually sending the name server information in its DHCP replies (it should).
Depending on which dhcp client you are using (I use the ISC dhclient, it is far simpler to configure for just a single interface), your lease information will be stored in either /var/lib/dhcp/dhclient.leases or /var/lib/dhcpcd/dhcpcd-eth?.info. Check the one in use on your system for name server information, in the former case it is in the form "option domain-name-servers <list>", in the latter it is "DNS=<list>". I don't use any network manager, because the init scripts achieve all I need to do. If you don't have any special needs, such as switching between a wired/wireless setup, you probably don't need a network manager either. It is possible there is a conflict between it and the init scripts. The following is for a no-network manager setup: There are two variables in the network config that might prevent /etc/resolv.conf from being modified. The first of these is MODIFY_RESOLV_CONF_DYNAMICALLY. If this is "no", then nothing will change the file. With DHCP, the other is DHCLIENT_MODIFY_RESOLV_CONF. You can change both of these in the Yast sysconfig editor, the first in Network/Hardware/Config, the second in Network/DHCP/DHCP client. If necessary, bring the system into runlevel 1 or 2 to make the changes (I think that shouldn't be necessary, though). Yast should restart the network automatically when it runs suseconfig, but if necessary, run rcnetwork restart after you exit Yast.
participants (4)
-
Darryl Gregorash
-
Greg Wallace
-
rmyster@gmail.com
-
stephan beal