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 11-15-2007, 05:48 PM   #16
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18

I saw two different addresses for laptop in the thread, 192.168.1.101 and .102.
Are you sure that you have the right address for the laptop. Do ipconfig at the command prompt to get the address and subnet mask.
 
Old 11-15-2007, 08:31 PM   #17
abauer03
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the responses guys, I feel we are getting closer to a solution

Quote:
Originally Posted by cyberfishee View Post
b
Can you please post the outputs of "ifconfig" and "route -n"? (as root, so on Ubuntu I would assume that means "sudo ifconfig" and "sudo route -n" but I am not sure as I have never used Ubuntu)
* I'm 100% sure both the Gateway and Subnet masks are identical in both comps so we can cross that out.


ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:08:A1:11:34:BB
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:fe11:34bb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42396 errors:0 dropped:0 overruns:0 frame:0
TX packets:38326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42184878 (40.2 MB) TX bytes:7516413 (7.1 MB)
Interrupt:18 Base address:0xe800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:97 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10438 (10.1 KB) TX bytes:10438 (10.1 KB)




_________________________________

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0




____________________________________________________________

Icole: Yes I got confused at first. The problem with DHCP is that if I turn my laptop on first then it would assign the *.100 to the Laptop. If I turn the Ubuntu box after the XP then it would get the *.101, and viceversa, thus becoming quite confusing. Does this matter?


_________________________

Can anyone tell me how to check the ports in the WinXP comp to see if theres' any opened ports in order for the Ubuntu box to connect---

____________________________

tesseractive,

I did try to plug in the Laptop through ethernet, and still theres' no change. I don't think the prob is with the WinXP box since before I installed Ubuntu in my Desktop PC I had no problems accessing shared files from my former WinXP Desktop to the Laptop.
_______________________________

Could it be Samba by any chance??
 
Old 11-15-2007, 09:19 PM   #18
tesseractive
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by abauer03 View Post
Can anyone tell me how to check the ports in the WinXP comp to see if theres' any opened ports in order for the Ubuntu box to connect

Drop to a cmd prompt and type 'netstat -na'. Your output should look something like:

Code:
  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
Quote:
Originally Posted by abauer03 View Post
tesseractive,

I did try to plug in the Laptop through ethernet, and still theres' no change. I don't think the prob is with the WinXP box since before I installed Ubuntu in my Desktop PC I had no problems accessing shared files from my former WinXP Desktop to the Laptop.

...and when you plug into ethernet, you're sure you're pinging the IP address of the wired adapter, right?

I still think it might be a firewall issue, even though you think there's nothing wrong with the XP box and all firewalls are off. That's why I'd try knoppix/ubuntu live/whatever just to make sure it's not the OS.

If that works, I'd get back into windows, probably run winsockfix (google for that), and possibly a 'netsh firewall reset'.

Quote:
Originally Posted by abauer03 View Post
Could it be Samba by any chance??
What happens when you run 'smbtree' on the ubuntu box? Does it see itself?
 
Old 11-15-2007, 09:34 PM   #19
abauer03
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Tesser,

I guess samba is not the problem since it 'sees itself'

MSHOME
\\TORRECONLINUX torreconlinux server (Samba, Ubuntu)
\\TORRECONLINUX\abauer03 Home Directories
\\TORRECONLINUX\hp hp
\\TORRECONLINUX\print$ Printer Drivers
\\TORRECONLINUX\home
\\TORRECONLINUX\IPC$ IPC Service (torreconlinux server (Samba, Ubuntu))
\\LAPTOP LAPTOP
timeout connecting to 192.168.1.101:445


**********

The netstat -na command output:

It looked just like that, Listening on ports 134, 445, 1029 and 139 so I guess that's not the problem either

*****************

I will install the Live Cd and try pinging to see if that works, I think that makes a lot of sense and that way we can single-out the problem and finally decide if it's Xp fault. I will post results ASAP but I think I might need to d/l it again since I might've lost it.

*******

BTW what's run winsockfix and the 'netsh firewall reset'. Can I just run that before going into the Live CD (I can't find it right now lol)

Last edited by abauer03; 11-15-2007 at 09:42 PM.
 
Old 11-15-2007, 09:42 PM   #20
tesseractive
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by abauer03 View Post
I will install the Live Cd and try pinging to see if that works, I think that makes a lot of sense and that way we can single-out the problem and finally decide if it's Xp fault. I will post results ASAP but I think I might need to d/l it again since it might've lost it.

Just to be clear -- you're not installing, just running. It's a live, bootable OS. You don't want to install it and wipe your XP install. (well, maybe you would ...)

Quote:
Originally Posted by abauer03 View Post
BTW what's run winsockfix and the 'netsh firewall reset'. Can I just run that before going into the Live CD (I can't find it right now lol)
Google for the word 'winsockfix'. Download it, run it. It'll reset your LSP (layered service provider) settings and reboot your system. If there's anything wacky with the software pipe between your network card and the OS, that has a good chance of resetting it to what it should be.

Running the command 'netsh firewall reset' does a similar thing for the windows firewall settings. It resets them to defaults.
 
Old 11-15-2007, 09:58 PM   #21
abauer03
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 0
LOL maybe I should -- I hate having to deal with XP now; I just switched to Ubuntu 3 days ago and this is seriously the only problem I've had so far.



Okay I just did the winsockfix thing, and the 'netsh firewall reset' . No luck though



I will 'run' the Live CD tomorrow since I def lost it.
Will posts the results ASAP..

Man I have to tell you that your brainstormings skills are impeccable; I've never imagined so many trial-and-error techniques. Worst case scenario no: no xp access from Ubuntu, I guess it's not that big of a deal since windows sucks anyways, still it would be very much convenient to be able to do so.

Last edited by abauer03; 11-15-2007 at 10:00 PM.
 
Old 11-15-2007, 10:38 PM   #22
JoeZ
LQ Newbie
 
Registered: Oct 2006
Location: Thailand
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
This sounds similar to a problem we had with a friends computer. In his case we were using the wireless access to the router (WLAN0), although he uses the wired access (ETH0) at his home. We were able to gain access to my WinXP computer from his ubuntu computer only after we disabled ETH0 on the ubuntu computer, as it appears it was attempting to connect on ETH0 and not on the WLAN0. We also found that using the wired connection ETH0, would work if we connected it and left it enabled.
 
Old 11-15-2007, 11:34 PM   #23
greyphi
LQ Newbie
 
Registered: Sep 2007
Location: Calgary, Alberta
Distribution: Debian / Ubuntu
Posts: 5

Rep: Reputation: 0
It looks like your smb.conf is bad.
Try to keep it as simple as possible. With this setup I've had no issues with xp/vista over lan and wireless.

[global]
workgroup = Home
server string = %h
disable spoolss = yes

[archive]
path = /home/archive/
browseable = yes
writeable = yes

That's all...
Your global settings have wins server improperly declared - better not to have it at all.
 
Old 11-16-2007, 05:56 AM   #24
tesseractive
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by abauer03 View Post
Man I have to tell you that your brainstormings skills are impeccable; I've never imagined so many trial-and-error techniques. Worst case scenario no: no xp access from Ubuntu, I guess it's not that big of a deal since windows sucks anyways, still it would be very much convenient to be able to do so.
Thanks. I run a computer services company. I have a bit of experience.

One more thing -- you're running ubuntu, right? Which version? Dapper? Feisty? Do you know if you're using networkmanager? That's been causing some connection grief recently. Try exiting it and retry your connection to the XP box.
 
Old 11-17-2007, 12:19 PM   #25
alonp
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
pinging

Hi,

As someone said here, first of all you got to have a valid ping on both
sides.
try to use traceroute from the ubuntu to the winXP, this will show you where your ping goes, I suppose it should go directly from your computer to the winXP one, so if it does not something is wrong (maybe a bad static route).
The best is to send us all your ip's and routes on all devices.
 
Old 02-24-2009, 04:27 PM   #26
sms0611
LQ Newbie
 
Registered: Feb 2009
Location: Costa del Sol, Spain
Distribution: Ubuntu 8.04 (Hardy)
Posts: 11

Rep: Reputation: 0
Same Problem? Solved?

Hi Guys,

This is my first time here and I realise that this is an old thread but I have just installed UBUBTU 8.04 on to a PowerMac G4 and when I tried to connect it to my HP Laptop it saw the laptop but would go no further (no shared folders or devices).

I ran through all of the checks and advice posted above but alas to no avail.

So I searched around a bit more and after realising that the problem was on the windows XP side not on the Linux side finally found this:

http://support.microsoft.com/kb/304040

Which talks through file sharing problems on XP.

As a result of reading this I did the following to solve the problem

1) my computer -> tools -> folder options

set simple file sharing ON ( I had it turned off because of IIS)

2) Re-run the Network Setup Wizard (Not sure if this was necessary but I did it just to be sure)

3) Re-boot

Lo and behold Ubuntu could now share my laptop files but not unfortunately my other devices. More work needed there...

Solved that one as well. Just typed the URI of the printer directly into the Ububtu printer configuration. Sweet.

Now if I can only get windows XP to talk to Ubuntu I'll be a happy camper. Any ideas?

I hope this helps someone out there as I've spent the best part of a day getting there.

greetings

Steve

Last edited by sms0611; 02-24-2009 at 04:41 PM.
 
Old 02-24-2009, 04:44 PM   #27
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18
Did you do
Start; Printers and faxes;right click device and select sharing
Set share this printer; enter a share name; and maybe list in directory.
 
Old 02-24-2009, 05:05 PM   #28
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18
Just for starters:

If you want to share folders and devices look at Samba on Linux Or WinSCP on windows.

If you want to log into the linux shell look at sshd on linux and PuTTY on windows.
If you want the Linux GUI look at realvnc on windows and vnc_server on linux.
 
Old 02-24-2009, 05:23 PM   #29
sms0611
LQ Newbie
 
Registered: Feb 2009
Location: Costa del Sol, Spain
Distribution: Ubuntu 8.04 (Hardy)
Posts: 11

Rep: Reputation: 0
DIfferent Problem

The problem I'm having now (printers etc all fixed) is that on my XP maching I cannot se the Ubuntu. It doesn't come up in the list of computers when I try

My Computer -> tools -> map network drive -> Mshome (my group name for all machines)

I guess the problem is on the Ubuntu side coz I've got 3 windows XP's which all do the same thing.

I've edited the smb.conf file (to change the workgroup name)

Do I need to do anything else?
 
Old 02-24-2009, 05:59 PM   #30
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18
Is your server name and IP address listed in the /etc/hosts file?
 
  


Reply



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
How to connect ubuntu 7.04 to sify kamlesh raul Linux - Newbie 2 05-26-2009 10:49 PM
How do I get ubuntu to connect with my LAN? fdharden Linux - Newbie 2 07-17-2007 06:58 PM
Can seem to connect on new install Ubuntu ofrog Linux - Wireless Networking 3 04-25-2007 12:41 PM
PSP connect to Ubuntu KernelJunkie Ubuntu 4 12-29-2005 03:44 AM
connect to internet in ubuntu nancy25dec Ubuntu 13 05-01-2005 04:24 AM

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

All times are GMT -5. The time now is 05:34 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