Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 11th, 2005, 3:30 PM   #1
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
networking question

i use my laptop on two different networks. one is dhcp enabled, one is not.

every time i change to network A, i have to go into network connections and manually set my ip address, subnet, etc and turn off dhcp.
conversely, every time i change to network B, i have to go into network connections and erase the ip address, subnet, etc and turn on dhcp.

is there a way i can use two batch files to toggle the settings according to which network i'm on? it would save me a lot of work and frustration.

thanks
chepfaust is offline   Reply With Quote
Old May 13th, 2005, 6:56 PM   #2
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
windows or linux?
on linux theres a daemon called ifupd which detects changes and can switch between profiles, on windows, switch to linux..
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old May 13th, 2005, 11:10 PM   #3
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Suggest to Network A that they have a DHCP server.
__________________

tempest is offline   Reply With Quote
Old May 18th, 2005, 6:16 PM   #4
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
yeah i'm trying to switch to linux but haven't used it enough to feel comfortable with it as my primary OS, but don't have enough disk space to run two OSes. so i was looking for a quick fix for windows.

i'll definitely keep that ifupd thing in mind for when i do make the switch, thanks.
chepfaust is offline   Reply With Quote
Old May 19th, 2005, 9:53 AM   #5
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
You could set the alternate configuration of the TCP/IP provider to the manual (non-DHCP) settings: under windows, on the TCP/IP properties, turn on DHCP requesting and then specify the fallback settings on the "alternate configuration" tab : http://support.microsoft.com/default...1&PA=1&SD=HSCH
Rory is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC