Im a recent (last day or so) windows convert, and so far Ive managed to get blag set up on my laptop, with all the settings how i want them. i can connect to the internet no problem (posting this through laptop) but the only thing is that i cant find how to get to the network-shared folders on my desktop - i am connected through an adsl 4port router, and both are plugged in and switched on. in windows i would have gone to network neighbourhood then workgroup etc. but whats the equivalent with blag? if i go to "Network Servers" i get the error message

Quote:

"Couldn't display "smb:///", because no host "(null)" could be found. Check that the spelling is correct and that your proxy settings are correct."

But underneath they are all using "smbclient". Its useful to know about smbclient cos if it aint working, the guis dont stand a chance of working. You have to install samba-client first if its not installed. Also please install nmap. To do this from a root# terminal :

Code:

apt-get update

Code:

apt-get install samba-client

Code:

apt-get install nmap

OR use synaptic.

Now we have the tools.. try these commands:

Code:

nmap -p 139 x.x.x.*

(change x.x.x as appropriate for your network)- Produces list of all the windows machines (or those running smb) on your network.

- Lets choose one of those, in my network I choose 192.168.1.10

Code:

smbclient -L //192.168.1.10 -U xxxx

(change xxx to your username) - This should prompt you for password and display a list of shares on that machine like this:

- will mount the share above called commonspace into /mnt/mountpoint. A bit like "net use f:..." does in windows. Remember that only root will have rw access to this mount, for help on that problem see: http://wiki.blagblagblag.org/Fstab

You can also use the netbiosname of the target machine instead of the ip address, but you may have to fix it in resolve.conf if it wont respond to name pings..

ps

Code:

Can anyone tell me why its insisting on labelling all my code with "code"???

have a nice day,
-n00bie

Last edited by kazim on Thu Apr 08, 2004 3:33 pm, edited 2 times in total.

[quote="kazim"]Jags (included in BLAG) can do all that. Linneighbourhood as well.

But underneath they are all using "smbclient". Its useful to know about smbclient cos if it aint working, the guis dont stand a chance of working. You have to install samba-client first if its not installed. Also please install nmap. To do this from a root# terminal :
[code]apt-get update[/code]
[code]apt-get install samba-client[/code]
[code]apt-get install nmap[/code]
OR use synaptic.

- Lets choose one of those, in my network I choose 192.168.1.10
[code]smbclient -L //192.168.1.10 -U xxxx [/code](change xxx to your username)
- This should prompt you for password and display a list of shares on that machine like this:
[code] commonspace Disk freespace for all
mysql-php Disk Lamp services
phaser350 Printer test phase[/code]

[code]mount -t smbfs -o username=xxxx //192.168.1.10/commonspace /mnt/mountpoint[/code]
- will mount the share above called commonspace into /mnt/mountpoint. A bit like "net use f:..." does in windows. Remember that only root will have rw access to this mount, for help on that problem see: [url]http://wiki.blagblagblag.org/Fstab[/url]

You can also use the netbiosname of the target machine instead of the ip address, but you may have to fix it in resolve.conf if it wont respond to name pings..

Hi Blaggers,
I as well am having some Samba issues after an initial Blag install. I am watching this thread with iron eyes, since it is exactly the application I want to use Blag for. A shared LAN server with Windz and Apples living in harmony.

So far this thread has been the most helpful sorting out this smb stuff. Im a linux newcomer as well, and came to UNIX via Irix SGI graphics workstations (Flame/Inferno from Discreet) In the past I was just the designer, but as the economies go global I need more unix fluency than I got away with before.

For now, getting a simple Samba file server working nicely in our studio, where Apples and Windoz can trust the little grey box in the closet will make a huge difference in my life.

I chose Blag first because it was recommended by a sound designer to me (who uses PCLinux (PCLOS) mostly) and my needs are very simple so far.

It may come to pass that I may want Blag to do FTP for the studio as well.

PS I dont have smb working just yet, but following this thread closely. The afp-get stuff was very cool! Thanks again. All the best to the Blag dist! I have the Fedora FC4 but havnt bothered with anything but Blag yet. I think I may be correct!

After the default installation, I have active ping from the windoz box (192.168.whatever) but I still see no share folders on Linux or in Windz.

I suspect I need to modify the smb.conf file. Is this true? Which lines are critical?

/etc/samba/smb.conf

This file is still at default. Which commented line must be set?

Ideally, I would like the Blag box to share a large partition with various apples and oranges(PCs), so to speak. An ftp option between IRIX and Linux would be nice too. But Im just studying on a home LAN at this point before I move the prototype to the office.

FWIW, I almost bought Linux in a Nutshell today, but there was a nice Fedora FC4 book there too so I'm depending on others here.

Ultimately, my killer Linux app is to have this Blag box work as a LAN server sharing a large partition with various OS's. IRIX, Apple, and Gates. Verbose instruction is great, but links to making it work are just as good.

Thanks for your reply jebba,
I have read almost everything 'Samba" search returns in this forum. This thread had the apt-gets which made somethings work a little more. I can now ping the windz box and do a successful ifconfig call (before, ifconfig hung the terminal). I even have a shared folder on the Blag desktop but it doesnt connect to the system it points to. Perhaps its a bit early for a newcomer like me to work with a more hardcore fedora dist like Blag.

Maybe I'll wipe this box and put FC4 on it and see if its a bit more facile for this application. Im sure a knowledgable user wouldnt have my issues with it. I have some time, so perhaps FC4 core in the morning. Maybe I should buy that Linux in a nutshell book afterall. It didnt have much on Samba problems, though...

Any pointers on which smb.conf lines should be un commented? That's probably my problem, im guessing.

My Blag is gone, but actually I will come back if suse 10.0 dont work for me. I just need to get samba working. I have a real use for this os (linux) for basic. Blag is so effient. It looks like Suse 10.0 will be heavy for my p3 setup.

I would love smb to work. It's why linux will be cool. Especially when we set up our FTP webserver. I'll have to pay a guy to do that,of course. But I need to be up to date.

So, Centrino, why not post your ascii to the thread. Your smb.conf

My issue is doing a DHCP cable router to my LAN. IPs are not static on hardware systems. My LAN switch is the DHCP. I think this is confusing my smb setup (samba.)

Here's my config, if you really want it. It works nicely with my windows systems. I am also able to use samba on a number of networks at home, school, and various other places, all of which use DHCP. I seriously doubt that's your problem. I find it a lot faster to get samba on speaking terms with windows if you have the security mode on SHARE. But that's if you want a really quick start. If you're looking for a real custom setup I suggest you play with the configuration.

Oh, and... I believe out of the box you also have to add users to Samba and enable them separately... just in case you didn't know already-- no one said anything about it, better safe to have mentioned that than sorry to have not.

Who is online

Users browsing this forum: No registered users and 5 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum