LinuxQuestions.org
Help answer threads with 0 replies.
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 09-20-2010, 04:24 PM   #16
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33

I don't have anything called Client's Association but I do have a page dedicated to routes.

These are the existing routes I have now:
Code:
Destination IP	Netmask	Gateway	Metric	Interface	Creator
66.174.168.192	255.255.255.255	0.0.0.0	1	Static WAN	System
0.0.0.0	0.0.0.0	66.174.168.192	14	Static WAN	System
192.168.0.0	255.255.255.0	0.0.0.0	1	LAN	System
And these are the routes I added:

Code:
Enable  	Destination IP  	Netmask  	Gateway  	Metric  	Interface  	Edit  	Delete
	192.168.0.155 	255.255.255.0 	0.0.0.0 	1 	LAN 	Edit 	Delete
	192.168.0.150 	255.255.255.0 	0.0.0.0 	1 	LAN 	Edit 	Delete
But I disabled those added routes when I saw they didn't seem to help anything.

Thank you for your response,
Roy
 
Old 09-20-2010, 04:25 PM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857
You scanned the nmap-server, not your own computer. Exchange scanme.nmap.org with the IP from the computer you want to scan.
 
Old 09-20-2010, 04:35 PM   #18
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33
Sorry, Jschiwal. I wasn't thinking.

Below is the output for the desktop:

Code:
roy@roy-desktop ~ $ nmap 192.168.0.150

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-20 17:29 EDT
Interesting ports on 192.168.0.150:
Not shown: 995 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
23/tcp   open  telnet
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
5900/tcp open  vnc

Nmap done: 1 IP address (1 host up) scanned in 0.34 seconds
roy@roy-desktop ~ $
And here is the output from the laptop:

Code:
roy@roy-laptop ~ $ nmap 192.168.0.155

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-20 17:30 EDT
Interesting ports on 192.168.0.155:
Not shown: 995 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
23/tcp   open  telnet
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
5900/tcp open  vnc

Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds
roy@roy-laptop ~ $
Thanks for the response. I'm still trying.

Roy

Last edited by rrrssssss; 09-20-2010 at 04:52 PM.
 
Old 09-23-2010, 04:54 AM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Run nmap from the laptop, targeting the desktop and vice versa. You targeted the computer you are using. You did show that the samba ports are open, so you are running the samba services.

roy@roy-laptop ~ $ nmap 192.168.0.150

and

roy@roy-desktop ~ $ nmap 192.168.0.155
 
Old 09-23-2010, 05:39 AM   #20
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33
Please Note:

My laptop computer now has an IP address of 192.168.0.150 and my desktop computer now has an IP address of 192.168.0.145 due to my experimentation.

Here is the nmap readout as I was pinging the laptop from the desktop:

Code:
roy@roy-desktop ~ $ nmap 192.168.0.150

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-23 06:11 EDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 3.19 seconds
Here is the nmap -PN readout as I was pinging the laptop from the desktop:

Code:
roy@roy-desktop ~ $ nmap -PN 192.168.0.150

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-23 06:11 EDT
All 1000 scanned ports on 192.168.0.150 are filtered

Nmap done: 1 IP address (1 host up) scanned in 8.90 seconds
roy@roy-desktop ~ $
Here is the nmmap reading as I was pinging the desktop from the laptop:

Code:
roy@roy-laptop ~ $ nmap 192.168.0.145

Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-23 06:14 EDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 3.09 seconds
roy@roy-laptop ~ $ nmap -PN 192.168.0.145
And here is the nmap -PN reading as I pinged the desktop from the laptop:

Code:
Starting Nmap 5.00 ( http://nmap.org ) at 2010-09-23 06:15 EDT
All 1000 scanned ports on 192.168.0.145 are filtered

Nmap done: 1 IP address (1 host up) scanned in 98.29 seconds
roy@roy-laptop ~ $

I have a question. Do I need DHCP-server installed on both computers for this to work? Linux Mint Isadora, by default, only installed DHCP-client, not DHCP-server. I went ahead and installed DHCP-server but I still could not communicate between computers but that may be because I do not have DHCP-server configured correctly.

Yes, I am running Samba services but I never could connect with it. I also installed Apache2 for personal files-sharing to work, but never could connect with it either. But with Apache2, once in a while a laptop icon will appear on my desktop in the Network folder but when I try to connect, I get an error message saying it can not connect. How would my desktop know about my laptop if it did not receive a signal wirelessly through my router? This was before I ever linked both computers with the Ethernet cable. That makes me think I may be getting some sort of wireless signal.

Thank you for helping me and please keep it up,
Roy

Last edited by rrrssssss; 09-23-2010 at 06:56 AM.
 
Old 09-23-2010, 09:38 AM   #21
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,252

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
Quote:
I have a question. Do I need DHCP-server installed on both computers for this to work?
No, you need a good TCP/IP stack, and ping will work, assuming there is nothing blocking it.

Just a thought, can you ping yourself? ie ping the desktop from the desktop. If the TCP/IP stack is good, that should work.

Have you looked to see if you have a /etc/hosts.deny and /etc/hosts.allow files? The deny file can block a lot of things.
 
Old 09-23-2010, 10:18 AM   #22
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33
I do not have anything in the hosts.allow and the hosts.deny files.

And I can ping myself in either computer without any problem.

I noticed during the P.O.S.T of my desktop in the CMOS setup (the early stages of the boot process), if I put the router's MAC code in the onboard Ethernet field, eth0 comes up and Network Manager says I have a connection but I don't have Internet access or anything. But if I put the MAC code (hardware address) of the wireless wi-fi card (which is located in my laptap), I can get Internet access on both computers (but can't ping each computer) so that is where I keep it set. I can't understand how my desktop can detect the wi-fi card in my laptop even when the laptop is turned off, but it does. Am I missing something?

I really appreciate you all offering your advice and suggestions. I would love to get this issue resolved.

Roy

Last edited by rrrssssss; 09-23-2010 at 10:43 AM.
 
Old 09-24-2010, 03:53 PM   #23
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33
Solved

Hello again forum,

I want to thank the following for helping me with my networking file-sharing problem:

malekmustaq, camorri, jschiwal, catkin, Guttorm, and TobiSGN.

I am glad to report I solved my problem.

The onboard NIC on my desktop's motherboard was not receiving its proper MAC code. I was putting in the only MAC code (in the CMOS setup) that would give me Internet access which was the hardware address of the 1397-802.11g wi-fi wireless card located in my laptop. This was giving me Internet access through the router but no file-sharing. So in the CMOS setup I entered 12 zeros instead of the hardware address of the laptop's wireless card. The 12 zeros allows me to use the MAC code built into the onboard NIC on my desktop's motherboard, something I had not been using. This solved my problem and now I have Internet access plus file sharing using the router. Linux Rocks.

All the best,
Roy

Last edited by rrrssssss; 09-25-2010 at 03:50 AM.
 
Old 09-24-2010, 03:57 PM   #24
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,252

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
Glad you solved it.
 
Old 09-26-2010, 08:00 AM   #25
rrrssssss
Member
 
Registered: Mar 2005
Posts: 284

Original Poster
Rep: Reputation: 33
Create my own MAC code?

Hello again forum,

In the above post when I said I solved my problem by putting in 12 zeros in the MAC code's field while in CMOS, this does indeed solve my problem but the trouble with that is I get a different hardware address each time I boot up my desktop computer, (a different MAC code is assigned for the onboard NIC on each boot), which causes me to have to re-configure the client computer each time I boot up my machine in order for networking to work.

I found a way around that by putting in the most recent hardware address that I had when I was in the operating system last.

Even though I haven't tried it, I believe that I can just make up a MAC code from my head (choose any numbers and letters I desire, 12 characters), and that will be my permanent MAC code for the onboard NIC unless I want to change it again later. Just make sure it is not the same MAC that any of the clients are using, which was the cause of my original problem. So it appears that I can create my own original MAC code. Or at least that should work with an Award BIOS which is what I have.

Can anybody verify this?

All the best,
Roy

Last edited by rrrssssss; 09-26-2010 at 11:41 AM.
 
  


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
can ping network computer, cannot ping google.com (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
ping connection to router OK, but no ping between boxes in LAN mac1234mac Linux - Networking 2 05-26-2010 11:29 AM
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 07:44 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Windows Linux WRT54G router: Ping can not resolve local computer name sandipkumar Linux - Networking 5 07-06-2004 11:36 PM

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

All times are GMT -5. The time now is 04:44 PM.

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