LinuxQuestions.org
Review your favorite Linux distribution.
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 08-31-2004, 12:23 AM   #1
antiemptyv
LQ Newbie
 
Registered: Aug 2004
Location: Raleigh, NC
Distribution: Debian 7.5
Posts: 18

Rep: Reputation: 0
Linux > XP networking


I would like to set up a small home network between my XP desktop and Linux notebook. I was not connected to the network when I installed SuSE, so it did not automatically recognize and configure it for me. That's okay, though; I'm relatively new to Linux, and am enjoying working to get everything functioning properly. So far when I go to the Network tab in Koqueror (for those of you who are familiar with SuSE), I click on Network, and I see two icons:
>> one is all SLP Services (sends Koqueror to the location "spl:/", which has no contents)
>> and the other is called Windows Network (send Konqueror to "smb:/". this searches for a little while and returns an error "Unable to find any workgroups in your local network.")

Everything seems to be shared correctly on the XP computer, though it can't see the Linux computer either. If you can't tell by my lack of jargon, I'm not so familiar with this sort of thing...networking, as I have been conditioned to let that other OS do everything for me. I'd like to change my ways.

What I would like to learn: I understand there to be a few programs to use: Samba, NFS, etc... I don't know which ones are better than the others or which would be suit my needs. And lastly, if it's not going to set itself up, I may need some setup instructions, too.

Yeah, so any help would be appreciated. Thanks!

Last edited by antiemptyv; 08-31-2004 at 12:25 AM.
 
Old 08-31-2004, 05:46 AM   #2
ieuuk
Member
 
Registered: Aug 2004
Location: England, United kingdom
Distribution: Fedora 10 + Cent OS 5.3
Posts: 65

Rep: Reputation: 15
hi, a good easy way to get your linux notebook set up is by using a program called webmin. (see http://www.webmin.com/) and what it allows you to do is to log in to, what will be your notebook and let you set up all of the areas of your network and samba settiings that you will want.

samba by the way is what is used to share files in linux if u didnt know.
 
Old 08-31-2004, 07:19 AM   #3
alcazar
LQ Newbie
 
Registered: Aug 2004
Location: UK
Distribution: PCLinuxOS 0.93a
Posts: 13

Rep: Reputation: 0
I did get Samba (netbios in windoze speak) working and talking between my XP and linux boxes recently. You'll need to make sure you set up the user accounts and passwords on both machines and ensure that any firewalls aren't getting in the way. Good luck!

Nigel
 
Old 08-31-2004, 09:08 AM   #4
ieuuk
Member
 
Registered: Aug 2004
Location: England, United kingdom
Distribution: Fedora 10 + Cent OS 5.3
Posts: 65

Rep: Reputation: 15
ahh yes... firewalls, watch out - the new windows sp2 firewall is pretty tight. dont think it causes a problem tho on lan connections.
 
Old 08-31-2004, 09:33 AM   #5
antiemptyv
LQ Newbie
 
Registered: Aug 2004
Location: Raleigh, NC
Distribution: Debian 7.5
Posts: 18

Original Poster
Rep: Reputation: 0
almost there

From my Linux machine, I can now the files shared by the XP machine. Any suggestions on viewing my Linux files from the XP box? I may need to take this to another forum as it might be a Windows issue. Thanks for the help thus far.
 
Old 08-31-2004, 09:55 AM   #6
jon3k
Member
 
Registered: Jun 2003
Posts: 52

Rep: Reputation: 15
Just FYI - SAMBA is not NetBIOS.

NetBIOS is just used to maintain a "scope" of computers connected in the same "workgroup" - it doesn't make any specifications for any type of file transfer. Thats all handled by SAMBA (actually, SMB, pronounced "samba" which stands for "Server Message Blocks"). In reality its actually CIFS but thats another story.
 
Old 08-31-2004, 11:52 AM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Re: almost there

Quote:
From my Linux machine, I can now the files shared by the XP machine. Any suggestions on viewing my Linux files from the XP box? I may need to take this to another forum as it might be a Windows issue. Thanks for the help thus far.
If you did not install Samba or Samba is not running, then no files or directories will be shared. Unlike windows, this type of service is not intergrated into the OS.
It is seperate, it can be started, stopped or completely removed.

Did you install samba ?
Check to see if you have samba, samba-client and yast2-samba-server.
In SuSE, you can use the "Add/Remove Software" feature of YaST.

SuSE has a small Samba configuration tool. In YaST, go to Network Services -> Samba Server.
If you want to configure it manually, take a look at this thread -- Samba is not that hard... don't worry
http://www.linuxquestions.org/questi...hreadid=221549
 
Old 09-01-2004, 12:18 AM   #8
alcazar
LQ Newbie
 
Registered: Aug 2004
Location: UK
Distribution: PCLinuxOS 0.93a
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by jon3k
Just FYI - SAMBA is not NetBIOS.

NetBIOS is just used to maintain a "scope" of computers connected in the same "workgroup" - it doesn't make any specifications for any type of file transfer. Thats all handled by SAMBA (actually, SMB, pronounced "samba" which stands for "Server Message Blocks"). In reality its actually CIFS but thats another story.
I (mis?)recalled I had to enable the netbios addresses in my firewall for Samba to work properly.
 
Old 09-01-2004, 10:36 AM   #9
antiemptyv
LQ Newbie
 
Registered: Aug 2004
Location: Raleigh, NC
Distribution: Debian 7.5
Posts: 18

Original Poster
Rep: Reputation: 0
Nearing Perfection

Okay. Everything is coming along nicely. I can view my XP shared files from Linux, and I can view my shared Linux files in XP. Now I'd like to attempt to get print sharing working. I have an HP PSC 1210, printer/scanner/copier combo thing. I have read in other threads here at LQ that people had dificulty getting the scanner to work. That's fine, I'd like to at least be able to print text documents. The printer is shared in XP. I have tried printing with CUPS installed. Maybe someone could go through the setup step by step if someone has the time, even better if familiar with SuSE's YaST; i'm running 9.1. What I have tried so far hasn't proved to work.
 
Old 09-01-2004, 10:53 AM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
YaST is the answer once again.
In the YaST printer management section, did you select Print via SMB Network server ?

Open YaST, go to Hardware -> Printer.
In "Printers to configure", select Other and click Configure.
Select Print via SMB Network server.
On the next page, fill-in appropriate info. When looking for a windows network PC, choose "Lookup All Hosts".
 
Old 09-01-2004, 04:30 PM   #11
antiemptyv
LQ Newbie
 
Registered: Aug 2004
Location: Raleigh, NC
Distribution: Debian 7.5
Posts: 18

Original Poster
Rep: Reputation: 0
some errors

In YaST's Printer Configuration...

Within the Printers to Configure list,
I choose "Other (not detected)".
Click "Configure".
Choose "Print via SMB Network Server".
Click "Next".
For Connection Information,
Workgroup = "AYCOCK" (because that's our street name)
Host name of the printer server = "AMNANTET" (the computer's name in XP)
Name of the remote queue = "HP_PSC_1210" (name of the shared printer in XP)
Then I click "Test remote SMB access".
---> this returns an error:

There was a problem. Your network access is not properly configured or the printer server is unkown or inaccessible. Check the host name of the print server or contact your network administrator.


...so then I go back and leave everything except I change Host name of the printer server to "192.168.0.110". This returns a different error:


There was a problem.

You specified and invalid queue name
on the printer server, the printer server
does not accept print jobs, or the queue on
the printer server does not accept print jobs.

Return from remote server:
PING 192.168.0.110 (192.168.0.110) 56(84) bytes of data.
64 bytes from 192.168.1.110: icmp_seq=1 ttl=64 time=0.098 ms

---192.168.1.110 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.098/0.098/0.098/0.000 ms

Testing HP_PSC_1210 on AYCOCK 192.168.0.110:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME


Everything seems right to me, but I've never set up a printer in Linux before, so...

Thanks for the help so far. Hopefully you can continue to do so.
 
Old 09-02-2004, 04:00 PM   #12
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
in winxp when u go to ur network connection what is the main title of your workgroup by default it would be mshome which encompasses the whole workgroup under one umbrella name or does it actually specify AYCOCK instead of mshome in which case if the first then I would specify workgroup=mshome. It would seem from your error messages that the prob lies in the network name u have specified. It`s not a linux prob or a winxp prob it`s just a user prob have a `twiddle` round with user names and try again :-)
 
Old 09-02-2004, 05:09 PM   #13
antiemptyv
LQ Newbie
 
Registered: Aug 2004
Location: Raleigh, NC
Distribution: Debian 7.5
Posts: 18

Original Poster
Rep: Reputation: 0
it specifies AYCOCK, but i changed it to MSHOME to avoid any confusion. I also made the change in YaST for samba and printer setup to be in the MSHOME workgroup. Still not working.

When i run ipconfig in XP, the IP address comes up to be 192.168.0.115, so i changed the host name to that, but the error still comes up the same as when i had 192.168.0.110. it turns out that 192.168.0.110 is the IP address for the Linux Notebook after running ifconfig on it. Still that doesn't fix it, though.
 
Old 09-03-2004, 11:14 AM   #14
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Is the printer sharing enabled ?
If yes... when you configure the printer in YaST, you can specify a username and password (use a XP account)
 
Old 09-03-2004, 03:00 PM   #15
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
Alternatively if u r still having problems u could always install the printer in ur linux machine and share it to windoze
 
  


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
networking xp and linux djgerbavore Linux - Networking 1 01-01-2005 07:37 PM
Linux Networking alexr186 Linux - Networking 4 10-11-2003 10:48 AM
Linux Networking Arch3r Linux - Networking 0 07-22-2003 03:01 PM
Linux RH 8.0 networking klmn1 Linux - Networking 1 11-18-2002 06:52 AM
Networking Linux Disaster Linux - Newbie 6 12-04-2000 04:46 PM

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

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