D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] [Fwd: Wireless Samba]



On Sunday 11 Jan 2004 12:58 pm, george_sinclair@xxxxxxxxxx wrote:
About to try and set this up and wondered if anyone has already done
something like it. I have an HP 4150 laptop with Suse 8.2, wireless pcmcia
(D-link) and a XP (home edition) desktop. XP has all the stuff on it
(broadband, printer, scanner, CD/DCD +RW) etc and so this will be the
server. Planning to just run smbclient to access these.

cheers
George

Something went badly wrong with your email client when handling that Fwd:, 
George! 

smbclient can be used to transfer files and list directories (it's an FTP 
client really) - it's the rest of the Samba suite that deals with sharing 
files and printers. (CD/DVD/RW is just another filesystem. The difficulty in 
sharing that is you've still got to insert the removable CD before it can be 
mounted remotely. i.e. you've got to get up and go to the desktop or have it 
there already.)

The other problem is that you'll have to configure XP to share the internet 
connection if it's a USB broadband connection. This was unreliable (at best) 
on Win98 (there are messages about it from me in the old dclug archives). A 
far better way is to make broadband available direct over ethernet. If you 
want to invest in a broadband router it will solve the problem at a stroke. 
Otherwise you could use an old PC as a broadband router. Use one that won't 
run Windows any more but which does have USB, install Linux using a 
text-install and leave out X, KDE, Gnome etc. and leave that running - 
providing internet access to any client on the network, no matter what the 
OS. If you have an ethernet port on the broadband unit already, get a 
switch/hub and plug desktop and laptop into that. Putting the broadband unit 
on ethernet also has the advantage that the desktop does not have to be 
running in order to access the internet from the laptop.

old archive messages:
http://www.dclug.org.uk/archive-May01-Nov01/msg00013.html
http://www.dclug.org.uk/archive-old/msg00406.html
http://www.dclug.org.uk/archive-old/msg00410.html

man smbclient
Operations  include  things  like getting files from the server to the local
      machine, putting files from the local machine to the server, retrieving
      directory information from the server and so on.

To mount a fileshare on the directory /share :
mount -t smbfs -o username=<username>,password=<password>,workgroup=<workgroup 
or domain> //winboxname/<sharename> /share

Read the HOWTO:
http://samba.mirror.ac.uk/samba/docs/man/

Basically, Samba won't care how the two are connected - it looks for a valid 
network route and will used wired or wireless. Simon is the probably best to 
say if there are likely to be differences in how Samba works wired vs 
wireless - I've never trusted wireless. I'm actually in the middle of bashing 
the house around, putting cables through walls, adding new sockets and 
generally making an enormous mess by sticking to a solely wired network for 
the entire house. It's fun - in a 'scare the cat and annoy the neighbours' 
kind of way.

But do check with filesystem you are using on the XP box - support for writing 
to NTFS is still not reliable.
http://www.mail-archive.com/siglinux@xxxxxxxxx/msg01089.html

-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00073.pgp
Description: signature


Lynx friendly