Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Static and DHCP
Results 1 to 4 of 4

Thread: Static and DHCP

Hybrid View

  1. #1
    Aaron_Adams
    Guest

    Static and DHCP

    Lately I've been going over to a friends house who runs a router that doesn't run DHCP. At home, my router does. When I go to his house with my laptop, which I don't shut off on the way over, I run netconfig to change the settings to static and add all the new info. I have yet to get it to work without rebooting. Also when I get back home and I run netconfig and set it back to DHCP, it doesn't get "on the network" until I reboot again. I've changed the netconfig settings and then changed the ifconfig eth0 info, and I've tried ifconfig eth0 down then ifconfig eth0 up, in hopes that when it is reinitialized it would get the settings but it doesn't work. I'm sure there has to be a way to do this without rebooting. Do I have to reinitialize the modules or something?

    Thanks for your help!

    Aaron

  2. #2
    Spot
    Guest

    Re: Static and DHCP

    Is it a pcmcia NIC? If so, you might try stopping the pcmcia service before you disconnect at home. When you get to yer friend's house, reset the info, then restart pcmcia. It's worth a shot anyway.
    Also, there might be some sort of "scheme" setup available, sort of like roaming profiles. If you google around a bit, you should be able to come up with something.

  3. #3
    JimH
    Guest

    Re: Static and DHCP

    Did you try just restarting networking. On Redhat you would use:

    service network restart

    Your Slackware install have something similiar?

    Jim H

  4. #4
    Aaron_Adams
    Guest

    Re: Static and DHCP

    I'm not sure. One of my friends recommended doing what you suggested. (A RH user, imagine that). What he suggested was in /etc/init.d/foo (I can't remember beyond that) but slack doesn't have /etc/init.d/ so it didn't help.

    I'm going to look into it tonight, as I have time tonight! Hurrah for time (as mentioned on *nix board).

    I'll let you know what I find.

Similar Threads

  1. setting static IP on network with no static IP address from internet provider?
    By solvetek in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 11-16-2011, 07:23 AM
  2. Setting static IP on LAN
    By myusername in forum Linux - General Topics
    Replies: 2
    Last Post: 05-07-2009, 07:24 AM
  3. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  4. Change from DHCP to static IP
    By Black666 in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-29-2002, 12:05 PM
  5. DNS, my domain name, and static IP
    By Rastar in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 01-04-2002, 12:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •