Results 1 to 7 of 7

Thread: ipconfig = ifconfig, ok. /release = ???

  1. #1
    Junior Member
    Join Date
    May 2004
    Location
    earth
    Posts
    3

    ipconfig = ifconfig, ok. /release = ???

    Bonjour,

    My Internet Connection is through a cable modem. I know that to switch from Windows to Knoppix, I have to IPConfig /Release before leaving Windows.

    Can anyone can help me to release the adrress from within Knoppix to switch back to Windows ?


    (beside, does anyone has an idea about how to release the ip in my modem when neither Knoppix nor Windows have the lease ?)

  2. #2
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    23
    I don't know, but one possible solution is to use a hardware router/firewall. This device will use DHCP to get its address through the cable modem, and then route things so that the computer(s) behind it can use local addresses. Locally, it will be its own DHCP server so your computer can get automatically generated local addresses (with no limit), or you can use static IPs if you want.

    This piece of hardware costs money, of course, but IMHO it's worth the extra security. Basically, the router acts as a shield, preventing incoming packets to even hit the computer unless they were specifically requested. As an extra bonus, you can attach more than one computer or a videogame system or whatever.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    pump -r eth0 should do it.
    in slackware i is dhcpcd -k eth0.

  4. #4
    Junior Member
    Join Date
    May 2004
    Location
    earth
    Posts
    3
    Thanks, I'll try that.

    (and btw, if you're to make a google search on man pump, do it on google.com/linux rather than simply google.com, or be prepared for profanity ! )

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900

    Re: ipconfig = ifconfig, ok. /release = ???

    Quote Originally Posted by xave
    Bonjour,

    My Internet Connection is through a cable modem. I know that to switch from Windows to Knoppix, I have to IPConfig /Release before leaving Windows.
    Really? That's weird.

    Another way to answer to your question would be:
    ifconfig eth0 down

    (beside, does anyone has an idea about how to release the ip in my modem when neither Knoppix nor Windows have the lease ?)
    Ummm disconnect it? Your modem *should* hand out i.p. addresses automatically and I have not yet heard of anyone having to release an i.p. before changing OS's. Of course there's a first time for everything.

    It's been my experience that often times a cable modem will give the same i.p. based on your MAC address.

  6. #6
    Junior Member
    Join Date
    May 2004
    Location
    earth
    Posts
    3

    Re: ipconfig = ifconfig, ok. /release = ???

    Quote Originally Posted by mzilikazi
    Ummm disconnect it? Your modem *should* hand out i.p. addresses automatically and I have not yet heard of anyone having to release an i.p. before changing OS's. Of course there's a first time for everything.
    From my searches in the forum, it appears that I am not the first to have this problem when switching from Windows to Knoppix, even if I found no references to the other way round.

    Sadly, I tried but Knoppix hanged at first boot, leaving the IP leased and me unable to dhcp a new one before my (old) modem self releases the address, ie. a couple of hours later, no matter if I switch it off or not.

    I try to keep this kind of tests to the minimum, as I am not willing to jeopardize couples of hours of Net access.


    What bugs me is that there must be a way : If Windows freezes, I can boot up in Windows and it just gives me my IP back, but I cannot boot in Knoppix and have this address. If Knoppix freezes, neither Knoppix nor Windows will give me back the addresse before the end of my modem's lease.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Do you think, you could reuse the ip?
    Then you could write a script.

    In windows you call ifconfig >C:\last_ip.txt
    I don't know how to invoke this automatically on shutdown - is this possible in Windows?

    In linux, you retrieve it by
    Code:
    cat /mnt/c/last_ip.txt | grep P-z-P | sed 's/.*Adresse:\([0-9\.]*\) .*/\1/g'
    Since my linux is localized to german, the grep pattern might be P-t-P and in the sed it might be 'address' for you.

    You could look for the timestamp to see if the file is recent, and delete it after usage.

    But I don't know how to tell your ppp to use this adress - my dhcp works perfectly.

Similar Threads

  1. ifconfig says yes ping says no
    By masticate in forum Networking
    Replies: 0
    Last Post: 06-14-2005, 08:45 AM
  2. ipconfig question/network commands help
    By digitalcry in forum Networking
    Replies: 1
    Last Post: 05-18-2005, 01:55 AM
  3. windows ipconfig equivalent
    By Brohan in forum Networking
    Replies: 2
    Last Post: 04-17-2004, 10:27 PM
  4. IPconfig /release equivalent
    By dugstratton in forum Networking
    Replies: 3
    Last Post: 01-14-2004, 09:30 PM
  5. ifconfig internet error..
    By jimjam in forum Networking
    Replies: 8
    Last Post: 12-01-2003, 02:02 AM

Posting Permissions

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


Vintage Intel Personal PC CPU Collection in White Shadowbox Display picture

Vintage Intel Personal PC CPU Collection in White Shadowbox Display

$200.00



VINTAGE SummaGraphics SummaMouse picture

VINTAGE SummaGraphics SummaMouse

$240.00



Vintage COMPAQ  122873-001, 12/24GB DDS DAT  tape drive FOR PARTS OR REPAIR picture

Vintage COMPAQ 122873-001, 12/24GB DDS DAT tape drive FOR PARTS OR REPAIR

$100.00



Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version picture

Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version

$10.39



Z80 - NABU PC & Keyboard - Vintage New Old Stock (Retro 80's) picture

Z80 - NABU PC & Keyboard - Vintage New Old Stock (Retro 80's)

$139.99



Drakware ADB2USB - vintage Apple ADB to USB keyboard adapter picture

Drakware ADB2USB - vintage Apple ADB to USB keyboard adapter

$29.95



Apple II GS Computer 512K Memory Expansion Board VTG 1986 DK GRN Australia WORKS picture

Apple II GS Computer 512K Memory Expansion Board VTG 1986 DK GRN Australia WORKS

$38.85



Apple IIe Owner’s Manual & ProDOS Supplement VTG 80s picture

Apple IIe Owner’s Manual & ProDOS Supplement VTG 80s

$39.68



SEALED Vintage Western Digital Value Line Hard Drive 3.5-Inch Enhanced IDE 25 GB picture

SEALED Vintage Western Digital Value Line Hard Drive 3.5-Inch Enhanced IDE 25 GB

$100.00



Vintage Compaq Presario Mouse, Model MUS9J, PS/2 - Tested & Working, Very Good picture

Vintage Compaq Presario Mouse, Model MUS9J, PS/2 - Tested & Working, Very Good

$12.99