LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2012, 10:24 AM   #1
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 710
Blog Entries: 2

Rep: Reputation: 68
Questions re. IP numbers of PCs connected to a fritz.box home router


Hello,
I am in a house with a fritzbox router (data of it accessible via fritz.box in minefield/opera..).
I connect different PCs or android-phone/Ipod to it via LAN/WLAN.
Question: how to see which IP has a PC connected to a router?
Which linux command should be used?

the different machines are:
- ASUS K51AE mainly with ubuntu (sometimes booted to TinyCoreLinux via SD card)
- HP DC7100 with TinyCoreLinux
- Samsung NC10 (with Win7) or booted via TinyCoreLinux
- Samsung Galaxy Android
- iPOD

Last question (if IPs are not fix): is it possible to define a fix IP number for the machines when they are connected into the home router? Background: I want to transfer data between the PCs (from the PCs to a data central place in one of the PCs) and a IP seems to be necessary for doing such data transfer.
 
Old 02-25-2012, 11:45 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by floppy_stuttgart View Post
I am in a house with a fritzbox router (data of it accessible via fritz.box in minefield/opera..).
I connect different PCs or android-phone/Ipod to it via LAN/WLAN.
Question: how to see which IP has a PC connected to a router?
Which linux command should be used?
your question is ambiguous.

First, you can open the AVM's ("Fritz Box") web interface in a browser and view the list of connected clients. In the German version of the web interface, that's Heimnetz/Netzwerk/Geräte und Benutzer (assuming you have the most recent firmware, otherwise the wording may be different).

Second, you can view the network parameters on a Linux host with the ifconfig command; Windows has almost the same, but here it's called ipconfig.

Quote:
Originally Posted by floppy_stuttgart View Post
Last question (if IPs are not fix): is it possible to define a fix IP number for the machines when they are connected into the home router?
Yes, with a recent firmware. But I don't use the AVM's built-in DHCP server, so I can't tell you how exactly. Just take a look yourself from the client list.

Quote:
Originally Posted by floppy_stuttgart View Post
Background: I want to transfer data between the PCs (from the PCs to a data central place in one of the PCs) and a IP seems to be necessary for doing such data transfer.
I don't think it is. I don't know how you're going to transfer your data (which protocol or software you use). But usually, the host name should work just as well. The AVM router, while acting as a DNS relay (default), also resolves host names of the connected clients.

[X] Doc CPU


EDIT: On a second thought, I consider that all your talking about an AVM router was just to complicate things, and all you really want is to assign your hosts a fixed IP, independent from the router's built-in DHCP server. Am I right? - Then all you have to do is make sure that the chosen IP address is within the router's subnet, and specify the router's IP as both DNS server and default gateway.

Last edited by Doc CPU; 02-25-2012 at 04:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] SSH from the Internet to my Centos Linux box at home behind the router rewards Linux - Networking 9 05-13-2011 05:58 AM
Linux box security when net connected via router and DSL modem ? uncle-c Linux - Security 4 08-19-2008 09:54 PM
Fritz box dsl problem (router/modem) tripmix Linux - Hardware 0 07-25-2005 06:51 AM
Multi-home Box Security Questions mpapet Linux - Security 1 05-17-2005 08:21 PM


All times are GMT -5. The time now is 02:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration