Ubuntu Networking :: Internet Sharing Not Working Samba Shares Are?
Apr 13, 2011
I have internet on my ubuntu machine (eth0) I am sharing with (eth1) My windows computers are getting IP addresses via DHCP from the Ubuntu Machine, and I can see (and use) samba/windows shares on all computers.Internet connection is not working on any of the windows computers. I have eth1 set to "shared to other computers" under the IPv4 settings
I have some samba shares working where all I did was right click on the folder, enable sharing and enable guest access. These work fine.
However, when I tried to use the manual way:
to create samba shares, so that they would be password protected, I cant access them. In windows 7, the shares are visible so I click them, click "use another account" and type in my samba name and password I created, but I can't access them.
Here is smb.conf
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # #
PDC SAMBA + OPEN LDAP (ubuntu 9.04) Linux (File Servers) + Windows machines all working well
I'm trying to set up a share drive on my new server using ubuntu 9.10 with samba (v 3.4) and ldapclient and the shares are not working when I defined Valid Users for share folders, that keep me ask me about my user and password, on the logs I have:
[global] workgroup = FLOWCONNECT server string = OSLO SAMBA FILE SERVER [code].....
I have the same set up on my File Server (Ubuntu 9.04) which use samba 3.3 is working fine.Someone know if has some different setting between samba 3.3 (ubuntu 9.04) and samba 3.4 (ubuntu 9.10) that could cause this problem ?
I am at a total loss. For all intents and purposes - sharing files over a lan without a password between this ubuntu 10.04 machine and my wifes laptop (windows 7) should be trouble free. I've installed samba, and created an smb.conf file in /etc/samba
Code: [global] workgroup = WORKGROUP server string = Samba Server netbios name = oak security = share
I want to note that I was using Arch Linux and this exact setup worked flawlessly. Why on earth would it not work the same in Ubuntu? Is it not the same Samba?
I set up a Ubuntu Server for my home network to share among Win XP and Ubuntumachines.Initially everything worked fine with all Win XP machines being able to share files on the server; however, after I installed and setup SSH between my Ubuntu machines and my Ubuntu Server I now cannot share and/or even see my Server directory from Win XP or Ubuntu machines through the Samba.I have tried for 2 days to figure out the problem without success.Did I break something while setting up the SSH? How can I fix Samba?Here's some things I have setup or tried so far:1. Samba users are setup and were working previously.2. Samba share drives were setup and working previously.3. I can see the Server using SSH or SFTP from my Ubuntu machines.4. I have gone over the Samba config file numerous times5. I am administering Samba on the server via the terminal and Webmin
I'm evaluating OpenSUSE and have installed 11.3 with Gnome (from the latest liveCD) and have it all running fine in a VM at the moment. We are looking at using it for an iSCSI/NFS/Samba server and have it allrunning and it is all configurable from Yast. However I can't seem to get Nautilus to play ball and allow sharing of Samba/NFS shares under folder properties (I'm fairly positive I've done this fine in Ubuntu). All I ever get is Usershare/Gnome sharing (which I believe is Webdav).
I must say I am so impressed with OpenSUSE, the partition manager is just a dream to use and everything works really well it would just be really nice to be able to share NFS/Samaba shares from the file manager. There doesn't seem to be any other file managers in the repositories so I'm a bit stuck now.
I am fairly new on CentOS and am in the process of setting up a small home office network that shares Internet access through the Linux (CentOS) box.I have two network interface cards The Linux box is also the DHCP server. My challenge is to get the client machines to access the Internet! I have a PPP connection to the ISP. Essentially I followed these Instructions CENTOS REDHAT Internet Connection Sharing. Pretty straight forward but I am still not able to get clients to access the Internet. I defined the DNS server through DHCP (196.44.x.y). I assumed it has to do with default gateway and it is set as follows: on the Linx box the gateway is my ppp0 link. DHCP uses eth1 (LAN card) fixed IP as the gateway. All clients are reflecting this information. The firewall (iptables) is reflecting the FORWARDING and POSTROUTING rules as advised.
Is there a step I mioght have missed to get this working? I tried to Google but its not getting me far.
I am setting up a Beowulf Cluster using CentOS 5.5. I have the head node with two NIC devices eth0 and eth1. eth0 is the one that is connected to the WAN while eth1 provides the internal LAN connection. I am trying to configure internet connection sharing with the slave nodes on the network so that I can update/install software as needed via ssh sessions using yum. I have set up the master node with the requisite changes to iptables to enable IPv4 forwarding. From my slave nodes I can ping ip address from the terminal, but my domain name resolution is not working. i.e. if I ping [URL] it can not resolve, but if I ping 188.8.131.52 (one of google's IP's) I can communicate with the machine without a problem. I also ran the configuration tool provided in the README section of the forum on the slave node and the master node. The links are:
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
2 are ubuntu, 2 are XP. ubuntu machine 1 has printers. I managed to print a document from ubuntu machine 2 to ubuntu machine 1 via the network; however ubuntu machine 1's shared docs dont show up on any of the PCs. I am unable to see ubuntu machine 1 on any of the windows pcs, cant find the printers or any sign of the PC actually being there, but pinging the PC is no problem. Basically network printing from ubuntu 2 to ubuntu 1 works fine; but ubuntu 2 cant see ubuntu 1s shareddocs and vice versa. The windows PCs don't seem to even know that the ubuntu PCs exist. no printing or sharing
I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.
1. Managing SAMBA shares and giving user specific access for the shares. 2. Scheduling backup of some mount points with rsycn to store data in remote hard disk 3. User and group administration, with sudo access. 4. Creating and Managing Xen Virtual machines and giving access to other project teams. 5. Automating some tasks with Shell Scripting. 6. Managing FTP server for user uploads.
I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?
I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.
The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.
I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.
I have setup Samba shares on my Ubuntu 10.10 and assigned different different username and password combination for each share.
The sharing works perfectly fine on all the Windows machines but it does not work on OSX. When I try to connect using OSX, it ends up showing waiting icon (screenshot attached) after entering username and password. (It asks for the login details after selecting the share from the list)
Following is my smb file content:
Code: # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the
find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:
Code: ####### Authentication ####### # "security = user" is always a good idea. This will require a Unix account
I'm trying to share some folders over the network, but the shared folders are not visible on another computer. This is through double clicking my computer from the Network list in Nautilus. However, I can access the share by typing the full address(<computer name>/<share name>) in "File > Connect to Server...".Since I can't type the address manually from my blu-ray drive, I need to get the shares to show on the network. What is wrong with my settings?
I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:
 path = /media/Secondary Storage available = yes browsable = yes public = yes writable = no
 path = /media/New Volume available = yes browsable = yes public = yes writable = no
i have a file server running kubuntu and samba, when i plugged it into a different router, the router assigned it a different IP address (as I expected - its using DHCP) - but the old router was supplying 192.168.1.x type IP's and now the new router is suppliing 10.0.0.x type addresses.I now cannt see the samba shares on the file server.the computers can ping each other and they have working connections to the internet
Been trying to deal with this one for some time, and still not sure it's more or an issue on the Samba or Win 7 side.
Running Ubuntu 10.04 with Samba 3.4.7, using Windows clients from 2000 on up to access shares.
2000 and XP have no trouble both connecting initially to shares, but upon reboot the shares are disconnected and do not automatically reconnect unless one of them is double-clicked on. Passwords and mappings are saved such that Windows tries to reconnect upon restart. When manually reconnected in this way, shares remain open as they should. This isn't a big issue, but it would be preferable to have these shares reconnect so that links and shortcuts across the LAN work right from bootup.
The bigger issue is with Vista/Windows 7 - When shares are set up with appropriate passwords and such on the clients, they work as expected, until the client is rebooted. After signing into windows 2 things are observable:
- Black screen for 2-5 minutes before desktop appears
- error message appears when you try to double-click on a mapped share (even with a saved password) that the connection cannot be restored.
If you go into credentials manager and delete the saved password for the share(s) on the samba server, you are prompted for the password when you try to open any of the shares - reenter it and you're then fine until the next reboot.
There must be some issue with the persistence of the saved password, but not sure if this a Windows-side issue or not. Read some other info on this, and had to make the following changes earlier to even get Win 7 clients to connect to samba at all:
It appears that when Win 7 starts up, it simply can't connect using the saved password, and the desktop doesn't come up until the reconnecting action(s) time out (if you disconnect your win 7 machine from the network the delay is not present).
It's not a game-breaker, but really annoying when rebooting having the delay and reentering the network share password(s).
Just set up Ubuntu 10.4 AMD64 on an old machine. We have an existing Ubuntu machine acting as a SAMBA file sharer. The other machines, windows and ubuntu have no problem in accessing files on the server. This machine reports that it can see the server on the network but instead of the expected data we see what is on the local machine. I admit I am out of my depth with SAMBA.
I have a NAS running Samba. My Samba shares are accessed from a Windows computer, it works very well.
With the kubuntu 10.04 computer, things are different : I can see the Samba shares in Dolphin, and copy files to the local drive, but lots of applications don't allow me to open a file on a Samba share.
Some applications such as OpenOffice let me browse to the share but refuse to open the remote file
Some other applications don't let me browse to shares at all.
What's up with that ? Surely I'm not the only one wanting to access files on a NAS ? How do other people do it ?
PS I chose kubuntu 10.04 because the 10.10 install hangs, the "ui" workaround I saw here and there did not work, the only solution offered was to go back to 10.04
I'm trying to set up a wireless AP with Internet sharing. I currently have the AP setup with hostapd and a dhcp server. The clients can connect but there is not Internet sharing. Now my situation is somewhat uniqe in that my internet connection is my teathered android cell phone. The tether app is azilink and i use openvpn to create a virtual networking interface(tun0).
So my brother has a home network that is setup with multiple workgroups (don't ask why - I have no idea and he refuses to change it). Anyways I just installed Mint 9 (Ubuntu 10.04) on my mother's computer and I need it to be able to access the fileserver in her house where her data is stored. The Mint system is part of the default workgroup and can only see one other system in this workgroup.
The workgroup the file server is a part of is called "hobnw", the server's name is "fileserver", and the share I want to connect to is called "TV Shows" How can I connect to this network share on Linux? (I also know the username and password) When I browse the network under nautilus all I see is the default workgroup and no others. All of the Windows systems on the network (Windows XP, Vista, and Win7) all see and can access the file server without issues.
I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:
The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:
Checking permissions on the shares: seem to be ok enabling encrypted passwords: not sure if I did it right. editing the registry for LmCompatablity
I have a problem with 'Samba' shares on Ubuntu 8.04. Bringing shared folders over from Windows (on another computer) is not a problem...until I try same process with a Windows backup folder holding .tib data from an 'Acronis' backup.The files appear in Ubuntu Network, everything looks o.k., Ubuntu just won't copy the data to another folder. Other shares work without a problem, its only with these ':.tib' data.
on 10.04 I clicked to share my music folder with the network (other computer also having 10.04) and it installed samba for me. I restarted expecting to find sharing working as it had on the other computer by doing the exact same thing. But for some strange reason I can't access the shares on either computer through the network workgroup. It just says "Unable to Mount Location".
Ever since my upgrade to 10.04 I no longer have Samba shares to my WinXP system(s).I have searched the forums high and low and for the life of me cant figure out what I am doing wrong.I am not able to see my XP system from Ubuntu, nor see my Ubuntu system from XP.Attached here is a copy of my smb.conf.
i have a ubuntu 10.10 desktop and laptop. i installed samba, and smbfs. i shared a folder on each computer. when i browse the network i can see the laptop from the laptop, and can see the desktop from the laptop, but i cant see the laptop from the desktop. when i try to mount the share it says unable to mount, but mounts it anyway...but, i need to be able to mount it so that rsync will see the shares as a dir on the desktop. i tried manually mounting via smbmount following several threads that i found, and i keep getting error sudo smbmount //192.168.1.78/share /media/laptop Password: Unable to find suitable address
that is as far as i've been able to get. i've looked and have only been able to find threads about windows shares, not between 2 ubuntu machines. and i dont know why laptop can see the desktop but not the other way around. they have identical smb.conf files