Quick answer; yes man ifconfig should get you started. From memory you can set an address for an ethernet card with something like;
ifconfig eth0 192.168.0.22 That implicitly brings up the connection. This much is already working for you as you say both PCs can reach the internet. So let's take a step back. I don't want you to "publish" your PC addresses, but if they are both on the same network then they should both have addresses in the private network ranges. The most common on routers are; 10.?.?.? 192.168.?.? If they have some other address range then they are likely to be publicly accessible and there is no Network Address Translation being carried out by your router. Can you configure your router? Do you know if it has a web-based configuration address? If you haven't come across this before, this is a "web page" generated by your router which provides access to its configuration by means of forms on web pages. It is normally accessed by entering the address in your browser, but this cannot easily work if your PC and your router are on different networks, with different address ranges. For example, the router might be on 192.168.1.1 and your PC is on a.b.x.x where a and b are NOT 192 and 168. Let us take one more step back. When you configured your network on each computer (using MCC?) did you opt for manual or automatic (via DHCP) configuration of the network address? That, I think, is the key starting point. If it is manual then you chose the addresses and typed them in. If it is automatic (via DHCP) then they will have been allocated by EITHER your router (which seems unlikely given the trouble your having) OR by your ISP, and that means they are permitting you to have more than one public address for your location AND that the address really is public; if I knew your address I could probe your network - that is potentially highly risky and is why the common practice, in these parts, is for each subscriber to get one public address and have the modem/router provide NAT for private networks on the premises. I hope I haven't confused the issue. Let me re-state the important questions: 1. Are your PC addresses similar to each other? 2. Are they in the private network range? (10.?.?.? or 192.168.?.?) 3. Do you have the make and model of your router? (yes/no will do for now.) Richard On 05/03/2012, e-letter <[email protected]> wrote: > On 05/03/2012, [email protected] > <[email protected]> wrote: >> ------------------------------ >> >> Message: 4 >> Date: Sun, 4 Mar 2012 22:33:07 +0000 >> From: WALKER RICHARD <[email protected]> >> To: Mageia general discussions <[email protected]> >> Subject: Re: [Mageia-discuss] home network using broadband router >> >> Hi, I'm no network expert but I have some practical experience with >> home networks. >> >> The first thing I would do is check the IP addresses on your home >> computers. Did you configure these yourself, or are you getting >> addresses from a DHCP service on your router. The "ifconfig" command >> issued on each machine should hopefully show you both/all machines >> have addresses in the same network; likely possibilities are >> > > ip addresses were not configured > >> 192.168.0.? >> 192.168.1.? > > Only each computer is seen, i.e. 'ifconfig' on computer A shows only > the ip address for computer A and similarly for computer B. Both > computers using mandriva. Both connected to the same netgear broadband > router and both are able to connect to the internet. > >> 10.0.0.? >> >> If there is a DHCP service running on the router then the chances are >> high that you can do what you want and perhaps you are being prevented >> by firewalls on the computers themselves. >> >> Using the Mandriva Control Centre go to the Security panel and >> double-click the "Personal firewall" option. While you are having >> "fun" getting the net working it may be a good idea to disable the >> firewalls by ticking the "Everything" box in the "Which services would >> you like to allow the Internet to connect to?" list. >> > > Both disabled and re-enabled; no effect. > >> Now you can try the nmap command to see what your computer can see. It >> should already be installed but it's no more than a quick "urpmi nmap" >> away. My net is using 192.168.0.? so here is the output I see from >> nmap; >> >> [root@Tureen rich]# nmap -sP 192.168.0.* >> >> Starting Nmap 5.51.6 ( http://nmap.org ) at 2012-03-04 22:29 GMT >> Nmap scan report for 192.168.0.101 >> Host is up. >> Nmap scan report for 192.168.0.116 >> Host is up (0.000097s latency). > > Similar above visible in command terminal. > >> MAC Address: 00:19:DB:4E:A8:61 (Micro-star International CO.) > > no mac visible > >> Nmap scan report for gunn (192.168.0.128) >> Host is up (0.00015s latency). > > visible > >> MAC Address: 00:10:4B:C3:BF:8C (3com) > > not visible > >> Nmap done: 256 IP addresses (3 hosts up) scanned in 10.44 seconds >> > > Aren't there terminal commands available to achieve network functionality? >
