Fedora Linux Support Community & Resources Center
  #1  
Old 31st August 2009, 06:45 PM
jmcc2950 Offline
Registered User
 
Join Date: Aug 2008
Location: Seekonk, Ma.
Posts: 50
linuxfedorafirefox
Question manual ip won't keep gateway

I setup my computer to share printers on home network. So I set my F11 PC for manual ip & it works fine for print sharing but now I can't get to the internet. I noticed under manual settings that every time I set the gateway & try to apply it, it jumps back to all 0's. If I set it to DHCP, I get to the internet no problem. I just have 2 wireless configs right now 1 for printing & 1 for internet but it would be a lot easier if I could just use the one manual setting & get it to keep the gateway setting. I'm using a Linksys WRT54G router. And I do select a manual IP outside the range the router uses for DHCP. Thanks

Last edited by jmcc2950; 31st August 2009 at 10:01 PM.
Reply With Quote
  #2  
Old 1st September 2009, 05:56 PM
RalphCC Offline
Registered User
 
Join Date: Aug 2007
Location: London UK
Posts: 141
windows_xp_2003ie
Lease time

Is there a router setting like this.
Some routers drop addresses after a certain time.
Ralph
Reply With Quote
  #3  
Old 1st September 2009, 06:32 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,048
windows_xp_2003firefox
You answered a couple of questions by stating your static ip is outside of DCHP's range and I think you're implying your printer connects via wireless. So do you have both an access point and an adhoc network going on? i.e., www via access point & printer via adhoc.

At the terminal, past the output of:

su
iwlist wlan0 scan
Reply With Quote
  #4  
Old 1st September 2009, 11:26 PM
jmcc2950 Offline
Registered User
 
Join Date: Aug 2008
Location: Seekonk, Ma.
Posts: 50
linuxfedorafirefox
here is output from iwlist wlan0 scan

wlan0 Scan completed :
Cell 01 - Address: 00:18:F86:1D:13
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=60/100 Signal level:-56 dBm Noise level=-73 dBm
Encryption key:on
IE: Unknown: 00110000000000000000000000000000000000
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 050400010010
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD090010180201F4000000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000006a759d183
Extra: Last beacon: 45ms ago
Cell 02 - Address: 00:18:F86:1D:13
ESSID:"McCormack!411088B"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=35/100 Signal level:-83 dBm Noise level=-73 dBm
Encryption key:on
IE: Unknown: 00114D63436F726D61636B2134313130383842
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD09001018020014000000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000006a71a7f6a
Extra: Last beacon: 4195ms ago

No the printer is not connected wireless, it is however a wireless network. The printer is attached by usb to my F11 box and shared. I pick a static ip outside the routers DHCP pool so that my F11 box won't be assigned a different ip when it gets rebooted. The printer share works fine to F9 PC, Vista PC & XP PC in house even if I use the DHCP ip the router hands my F11 box, I'm just worried that if it gets rebooted it will pul a different ip & all will lose the connected printing capability. When I edited the network connection for manual ip, it sets the F11 boxes ip fine but I can't get to the internet because it won't hold the gateway(router) ip, it keeps reverting back to0.0.0.0. Sorry if some of this sounds repetative, just wanted to make sure you had all the info. To answer RalphCC lease time is one day. Thanks, Jay

Last edited by jmcc2950; 1st September 2009 at 11:42 PM.
Reply With Quote
  #5  
Old 1st September 2009, 11:51 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,048
linuxfedorafirefox
Ok. If I understand correctly then your problem is with your static ip because some routers refuse to talk with ip addresses outside their pool. The easiest place to start is by opening the administration page of your router and assign/reserve an ip address for your box within it's pool. Your box then gets assigned the same ip, even after restarts.

Your gateway reverting to 0.0.0.0 is a problem I haven't run into before but if you reserve that ip then dhcp will fix that problem. Else we look at either network manager or system-config-network, depending on which you use.
Reply With Quote
  #6  
Old 2nd September 2009, 12:37 AM
jmcc2950 Offline
Registered User
 
Join Date: Aug 2008
Location: Seekonk, Ma.
Posts: 50
linuxfedorafirefox
I would do that but nowhere in the router admin do I see a place where I can reserve an ip for a specific mac address nor do I see any reservation table. I'm using a Linksys WRT54G router.
Reply With Quote
  #7  
Old 2nd September 2009, 01:20 AM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,048
linuxfedorafirefox
Crap I just pulled it's manual down. Yeah I remember linksys's pages and I recall thinking they buried in in the wrong place but I need to sit in front of one to find it. Believe me it's there. I'll pull one up.

edit. default password was admin and I think it was hidden under mac filtering or admin-local... it's been awhile.
Reply With Quote
  #8  
Old 6th September 2009, 07:09 PM
jmcc2950 Offline
Registered User
 
Join Date: Aug 2008
Location: Seekonk, Ma.
Posts: 50
linuxfedorafirefox
Finally figured it out today. For some reason you have to enter the gateway before entering the netmask address otherwise it doesn't save the gateway. Weird! Just thought you might want to know what fixed it. Thanks for your input beaker & Ralph CC.
Reply With Quote
Reply

Tags
gateway, manual

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dhcp OK But Manual IP Not Kukunet Servers & Networking 1 27th August 2009 01:39 AM
FC4 Manual? foxmuldar Using Fedora 2 10th February 2008 01:32 AM
Php Manual joe2 Using Fedora 11 2nd August 2006 07:15 AM
FC5 or pup manual LinuxHippy Using Fedora 13 28th March 2006 05:52 PM


Current GMT-time: 18:23 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat