LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-14-2008, 08:09 AM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
Network setup failure


I want to transfer files across my local network to/from an XP box. I am using a router. The XP box can access the internet via the router. It has the following settings:-

Windows IP Configuration

Host Name . . . . . . . . . . . . : oem
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
Controller (3C905C-TX Compatible)
Physical Address. . . . . . . . . : 00-06-5B-5D-C3-30
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.151
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 213.150.135.210
195.58.103.21

From my Linux box, ifconfig produces...

eth0 Link encap:Ethernet HWaddr 00:134:18:7C:02
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76195 (74.4 Kb) TX bytes:50843 (49.6 Kb)
Interrupt:21 Base address:0xdead

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1499 errors:0 dropped:0 overruns:0 frame:0
TX packets:1499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:179529 (175.3 Kb) TX bytes:179529 (175.3 Kb)

My Linux box has been configured via SWAT as follows:-

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/08/14 15:00:25

[global]
workgroup = WINDOWSSNT
netbios name = LINUXMASTER
map to guest = Bad User
guest account = guest
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
preferred master = No
local master = No
domain master = No
usershare allow guests = Yes
hosts allow = 192.168.0.100/255.255.255.0
printing = cups
cups options = raw
print command =
lpq command = %p
lprm command =

[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[users]
comment = All users
path = /home/
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

BUT the SWAT status shows...

version: 3.0.26a-3-1478-SUSE-SL10.3
smbd: not running
nmbd: running
winbindd: not running



Active ConnectionsPID Client IP address Date Kill

Active SharesShare User Group PID Client Date

Open FilesPID Sharing R/W Oplock File Date

...and pointing my browser to smb:/workgroup produces "The address type is unknown or unsupported". Can someone tell me what I have done wrong?

Thanks.
 
Old 08-15-2008, 01:15 AM   #2
Vit77
Member
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: SuSE, RHEL, Mageia
Posts: 132

Rep: Reputation: 17
You stated in samba config: workgroup = WINDOWSSNT
whereas trying to access in browser smb:/workgroup
Isn't it mistake?

Then, try to access by IP: smb:/192.168.0.151

Another problem could be with browser you use. Not every one supports such urls.
To be sure everything is correct, run the command
smbclient -L //192.168.0.151
 
Old 08-15-2008, 08:38 PM   #3
galliar
Member
 
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175

Rep: Reputation: 32
Mount the share

Hello,

Have you tried mounting an XP share using CIFS:

1. su
2. mkdir /mnt/xpbox
3. mount -t cifs //192.168.0.151/'sharename' /mnt/xpbox -o username='xpuser',password='xp password',umask=000
4. Now you can copy files to and from the share by cd'ing to /mnt/xpbox

Is the what you are looking for?

Regards,

Randy.
 
Old 08-16-2008, 05:23 AM   #4
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Original Poster
Rep: Reputation: 41
I have now trashed XP on my client box and I have to re-install (after kicking myself a few times). I will try the CIFS method after that. Thanks for the help.
 
Old 08-18-2008, 02:11 AM   #5
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Original Poster
Rep: Reputation: 41
I tried the mount.cifs method as suggested. The result is very puzzling. The command never finishes executing. The HD light keeps flashing, but no error message shows up. If it is a hardware problem I am sure I would get a quick error message. I have spent far too much time trying to figure this out. I think I might resort to the cowardly method of using CD's.

Thanks for the assistance.
 
  


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
rsh error: protocol failure in circuit setup Andrea Linux - Networking 5 09-17-2009 01:15 PM
Wpa_supplicant setup(and failure) any ideas? J05HUA Slackware 2 05-27-2008 11:48 AM
Failure on Test Virtual Mailbox Setup satimis Linux - Server 0 11-08-2007 08:08 AM
HP Pavillian 6640c - linux Setup failure Frostboss Linux - Newbie 3 07-09-2005 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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