Windows network gone - I can no longer see it.
Gustin Johnson
gustin at echostar.ca
Fri Oct 17 21:17:02 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
aYo Binitie wrote:
> I'm trying to access Windows shares, on a windows workgroup. That's
> all :(
>
Forget the GUI tool for now (we are troubleshooting now)
- From the command line:
smbclient -L //computername -U username
The computer name is the name of the computer you are connecting to.
The username is one that exists on the target machine.
If you get an error like this:
failed (Error NT_STATUS_BAD_NETWORK_NAME)
then that means that name resolution is broken. There are two solutions
(technically 3):
1) create entries in /etc/hosts that map names to ip addresses
1B) Set up a DNS server to do name lookups. This is what I do but some
people find this scary and it is an overkill solution.
2) connect with IP addresses
So, instead of a name, use the IP address
smbclient -L //192.168.0.100 -U username
Also, in my house I map all the network drives. So on windows machines
all network shares get drive letters, under linux they get mount points
(as defined in /etc/fstab or whatever GUI front end you use). Relying
on the workgroup browser is a bad idea, even in a purely windows
network. I have had a home network long before I got into Linux in the
'90s so this approach is born of years of hard earned experience.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI+PK+wRXgH3rKGfMRAmVjAKCtVyipUKL914O6EgnTS7Kc24/powCeP6IC
rFHYkzRXaZbyTmkEWab2qoI=
=tift
-----END PGP SIGNATURE-----
More information about the Ubuntu-Studio-users
mailing list