LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2024, 02:54 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,629

Rep: Reputation: 180Reputation: 180
Can't set static IP on Linksys E900


Before I throw this router in the trash, maybe someone can help. My need is simple: set the router to a static IP. On the setup screen, on the drop-down menu for Internet Connection Type, the current setting is "Automatic Configuration - DHCP". When I select "Static IP" I get logged out and the login screen appears with the message, "Session Failure / Please login again". I've tried this numerous times.

What am I doing wrong?
 
Old 05-13-2024, 04:23 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,796

Rep: Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952
According to the manual that should work. I assume you are plugged into a LAN port?
 
Old 05-13-2024, 08:13 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,394
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
Is this a public-facing router? If so, you might want to check the ISP's terms of service; they might preclude a static IP.
 
Old 05-31-2024, 09:54 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,629

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by frankbell View Post
Is this a public-facing router? If so, you might want to check the ISP's terms of service; they might preclude a static IP.
Yes, we have 5 static IPs and 3 have been in use for years.

I'm still struggling with this "simple" router. I believe I've set the static IP, and before doing that I set the router's LAN facing IP to 192.168.0.1, rebooted, then successfully connected to the router on that IP. I then set the static IP and netmask, but when I try to save settings I get the message "192.168.0.1 Invalid value". See image. Why? As stated, prior to attempting to set the static IP I did set the LAN IP to 192.168.0.1, rebooted the router and connected to the router on that IP. What's invalid about it?
Attached Thumbnails
Click image for larger version

Name:	Linksys-E900.jpg
Views:	14
Size:	287.8 KB
ID:	42962  
 
Old 06-01-2024, 07:09 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,796

Rep: Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952
I don't know. Basically all the instructions indicate is to select static IP and complete the fields required by your ISP and any optional fields if necessary. I assume that you probably need to do this disconnected from the MODEM. Without seeing what is behind the error message we can not tell if there is an error.
 
Old 06-03-2024, 12:47 AM   #6
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,629

Original Poster
Rep: Reputation: 180Reputation: 180
There is nothing behind the error message. I positioned the error box before taking the pic. Behind the error message is "Host Name"(blank), "Domain Name" (blank), and "MTU" (auto). I don't know, I've worked on SonicWalls that weren't this irritating to set up. I'll see if there is a firmware update.
 
Old 06-04-2024, 03:38 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,486

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by mfoley View Post
Yes, we have 5 static IPs and 3 have been in use for years.

I'm still struggling with this "simple" router. I believe I've set the static IP, and before doing that I set the router's LAN facing IP to 192.168.0.1, rebooted, then successfully connected to the router on that IP. I then set the static IP and netmask, but when I try to save settings I get the message "192.168.0.1 Invalid value". See image. Why? As stated, prior to attempting to set the static IP I did set the LAN IP to 192.168.0.1, rebooted the router and connected to the router on that IP. What's invalid about it?
I would suggest that the "192.168.0.1" in the error box is a red-herring, it's showing the IP address of the router as the web source of the error message rather than the cause of the error message.

I would also suggest that the "Invalid Value" is the fact you've not specified a default outbound gateway or default DNS servers for your WAN side.
 
Old Yesterday, 09:01 PM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,629

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by TenTenths View Post
I would suggest that the "192.168.0.1" in the error box is a red-herring, it's showing the IP address of the router as the web source of the error message rather than the cause of the error message.

I would also suggest that the "Invalid Value" is the fact you've not specified a default outbound gateway or default DNS servers for your WAN side.
I think you're right about the "red herring" idea. Still I had trouble. I went to a different setup page changed something innocuous and was able to save from that page. I went back in and set gateway and DNSes in the Static IP section and those took, finally.

After restarting the modem, changing /etc/resolv.conf to have the same nameservers and restarting eth0 on the host, it kept changing my /etc/resolv.conf to have "nameserver 192.168.1.1", which is neither the router IP nor the nameservers I set it to. This kept happening after changing resolv.conf and restarting eth0, even after I set eth0 to USE_DHCP="no" and DHCP_KEEPRESOLV[0]="yes". Finally, I rebooted the host and the nameservers were now preserved correctly in resolv.conf. I'm guessing that before the reboot dhcpd or the like was running and kept clobbering things when I restarted eth0. On reboot that didn't run dhcpd, so perhaps that was the culprit. Not sure because I didn't verify that dhcpd was running before I rebooted. In any case, it's appears to be working now. I'm embarrassed that it was such a struggle with this normally simple device!

Last edited by mfoley; Yesterday at 09:03 PM.
 
  


Reply

Tags
failure, linksys, static ip



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Processes ,the stack and static memory: How can the stack be considered static? theKbStockpiler Programming 8 05-20-2010 09:01 AM
Static Route - Linksys WRT54GL to Ubuntu Set up as a router mossy464 Linux - Networking 2 05-19-2010 02:03 PM
Samsung E900 mobile phone, GPRS modem & Slackware 10.1 norkers Linux - Hardware 5 02-25-2008 06:12 AM
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration