Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Gentoo headless wired to an xfinity DHCP. I could check via logging into the router, but that is not an option at the moment, the browser just hangs. It works sometimes. That is another issue to be dealt with. I'm not looking to fix the router. Is there any way of using nmap or something to find that box?
Really the way to find it would be to look at the address assigned by the router, and that's exactly what you said won't work.
How about configuring the Gentoo for a static IP beyond the range where you'd expect a normal DHCP address to be assigned, but within the allowable list of IP addresses your router will accept.
There is no way to put a monitor and keyboard or serial console onto that Gentoo station?
You could use nmap to scan the appropriate subnet, something like this:
Code:
nmap -sn 192.168.1.0/24
Or maybe "arp" might work.
The router is 10.0.0.1 would I use that in place of 192.168.1.0? I think it should have a static IP, but I don't know much in the networking world. I can try the router again. The problem with the xfinity router is that I have to login with the wired desktop it seems, and if you bogger the password, it becomes unresponsive. Unplugging the router gives you another shot, it's just a royal pain. Sometimes I can login and sometimes I can't. It's crap shoot. I'll give it a shot though. Anyone have any links off hand on how to setup the static IP?
Yes, almost. It would be 10.0.0.0/24 but also the /24 will vary depending on the range addresses your router doles out.
Code:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-03-18 16:47 EDT
Nmap scan report for 10.0.0.1
Host is up (0.016s latency).
Nmap scan report for 10.0.0.2
Host is up (0.017s latency).
Nmap scan report for 10.0.0.4
Host is up (0.023s latency).
Nmap scan report for 10.0.0.7
Host is up (0.0044s latency).
Nmap scan report for 10.0.0.9
Host is up (0.00021s latency).
Nmap done: 256 IP addresses (5 hosts up) scanned in 15.86 seconds
After trying a couple, I found it. Thank you. Now I will have to setup a static IP to avoid this. I use the headless just for a sandbox, but from time to time the router will get rebooted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.