Ubuntu Networking :: Samba Connect Only Works With IP Address
Feb 13, 2011
I have a problem with Samba. I've already configured my SMB.conf file, but I can't connect to my Windows shares by their host name. for example: if I try to connect to GDEA73-PC-1 share = netshare, server connection fails. if I try to connect to 192.168.1.171 then share = netshare, it works. How do I fix this? When I run findsmb, I am on the GDEA73 NETWORK workgroup as I configured, but my local PC is the only one on it...
So the problem is that phpMyAdmin does not want to connect to host name (at remote server) but connects to that same server fine if it's ip address is used. Command line "mysql -h hostname ..." works fine and connects to host name. Mysqladmin also works.
it's giving error:
MySQL said: #2005 - Unknown MySQL server host 'host.name' (2) ******
I've disabled SElinux and temporarily disabled Iptables but no luck.
Somehow I feel MySQL is not doing DNS lookup when used by Apache/PHP. So it just understands ip addresses.
I found that on MySQL startup you can disable DNS lookup. [URL] Not sure if it's disabled and how to enable it at startup. Could not find anything at "System" -> "Administration" -> "Services".
I have an auxillary laptop that I use with Fedora 9 on it. Up until now, I have been using wireless just fine with a an old Marvell card. A friend needed a wireless card, so I gave it to her because I had a spare Belkin card (PCMIA) with a RT2500 chipset. This chipset has been supported in Fedora for a long time, and it does it fact work but it will not obtain an IP address and disconnects from the Network Manager upon every attempt to connect.. I get an error that says "set bit rate" failed and I cannot get assigned an IP address from my router.
I do not use encryption. Nothing I have tried with sysconfig-network has had any affect.
iwlist scan finds the router just fine with a good signal, but will not connect.
We just set up a vpn & samba server and are running into this problem.
we can log into the vpn and can ssh, http, ftp in the various servers on the internal network. however when trying to view Samba/Windows shares over any windows machine, they fail to connect. BUT we can vpn in on any android device and using a samba app view the Samba & Windows shares on any server we try.
If im logged in the network internally, there does not seem to be a problem. Only if we VPN in from the outside.
We are running samba on a Fedora release 8 (werewolf). The samba server is located on a dmz subnet off of my Cisco ASA 5510 firewall. From my inside network I have no problems connecting to the samba shares. However when someone uses a VPN connection they cannot connect to the samba share. VPN users are assigned an address from a pool which has no problems getting to the dmz based samba server. All ports required are open on both firewalls (Samba server and PC with VPN connection.) I consistently get an error saying Windows cannot find the ip address of the samba server. I have looked at the samba logs in varlogssamba and found a complete list of connection attempts listed by ip address. These addresses match the pool addresses that are being assigned by the firewall when someone tries to connect using the vpn.
Each entry has this: lib/access.c:check_access(327) connection denied from (ip address that is assigned by firewall) smdb/process.crocess_smb(1062) connection denied from (ip address that is assigned by firewall) I checked the smb.conf to make sure the subnet the pool addreses is listed in the global section. It is.
I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.
I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.
Two machines with Lucid installed last week, both installed with the same standard settings. One machine can see the network and both itself and the other machine, the other PC cannot see the first machine or itself. In the Network window all I get is a folder saying 'Windows Network' and clicking that ticks away for a minute or so before saying error, cannot connect to it.
On both machines I have created a shared folder on the desktop to trigger an installation of samba shares which has happened.I cannot connect to the other PC by entering its IP address into location either.
I'm connecting to my wireless, but I can't connect to the Internet, not even via an IP address.
(*) Can not open web pages via IP address. (*) Can ping internal hardware no problem. (*) I can connect to the Internet via Ethernet no problem. (*) I used to be able to connect via wireless on this computer. No settings changed in the interim. (*) Several other computers currently connected & accessing Internet via the same wireless - no problem. (*) Based on other posts, I disabled the avahi daemon, but this had no effect.
I recently setup motion on one of my computers with a USB camera. On that computer if I type [URL] I can see my live video. If however I type [URL] on that computer or any other on my wireless network, I get a page cannot be displayed. I checked that UFW was disabled and I am able to ping the motion computer from any other computer on my network. Also I am not sure if it matters but I do have apache installed on my motion computer as well. why I cant view my live video from different computers I am using Ubuntu 10.4 on all computers
I have been trying to wirelessly connect to my network for weeks now. My netgear dongle is fully working. I have installed the driver using ndiswrapper. I can see my network and signal is excellent; everything is working perfectly. When I try to connect it thinks about it but never connects. The password is fine; it works great with other computers. decided to have a go with wicd, so got rid of the Gnome network manager and installed wicd. Adaptor and wicd appear to be working brilliantly EXCEPT I cannot connect. wicd tells me its a bad password. Password fine because it works brilliantly with every other device I connect to my network. If I remove security from network, it tells me it cannot get address, even though it sailed passed that with no problem when there was security. I have searched the internet for a solution to this problem time and time again. Lots of people seem to be having this problem, but no one knows the solution. Is there a solution? It happens with both Ubuntu 10.04 LTS v1 v2 and Ubuntu 11.04. What the heck is going on. This happens with WPA WEP and anything else I try to use
I installed Ubuntu (10.04) today and it has gone smoothly except for the fact that I can't connect to the Internet when in Ubuntu (connection works fine in Windows XP). I am using a wireless USB card (Linksys WUSB600N) to connect.
The weird thing is that the card detects all the local networks, asks me for a password to my network, and it even says it is connected to my network after I put the password in -- but when I open Firefox no pages will load.
There is another weird quirk as well: Ubuntu will not restart or shut down properly (it hangs around indefinitely with the little white / orange dots going across the screen) unless I first remove the wireless card from the USB slot. But that doesn't bother me as badly as the lack of Internet.
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
I have a server running Ubuntu Server 10.04 that is a VirtualBox/Samba/SSH server. I have port forwarding set up for ports 22 and 3389 (SSH and RDP) and I want to access the Samba share without opening any other ports. I can connect to it from my internal network, but I want to be able to access it from school. My best guess would be to tunnel the Samba port through SSH, but I don't know how. I will be connecting to it from Ubuntu 10.10 Desktop.
Here is what I am trying to do. I set up a Samba server on Ubuntu 10.10, which seems to be working (sort of).
I set it up using Webmin, which has always worked for me before.
I set up two shares, both of which are read/write and are allowing any hosts. And are set up using the default samba configuration that is provided by Webmin.
For privacy reasons I won't disclose the domains, but I will call them test.abc.com and xyz.com
I set up /media/mount as a share called [mount_a] and I also set up /media/mount_b as [mount_b]
The server's host name in my internal network is mount-box
I originally mapped it to a sub-domain of my domain abc.com via DNS, so that test.abc.com resolves to the IP address of my router; which has all the necesarry port forwarding set up.
In windows explorer in the remote location I tested it by using \test.abc.compoonani_a, this works fine and after a password prompt I can access my files. However, I do not want to use this domain name for this server, so I registered a new domain name and again via DNS mapped domain xyz.com to the IP address of my router.
Since setting up the new hostname, I cannot connect to it via Windows to access the samba share. It just won't work. When I try to connect the password prompt appears and I put in my credentials, when I submit it the window re-appears and it has appended the servername xyz.com before the username, so it reads \xyz.com<myusername>, but won't let me connect.
If I try again with the previous hostname test.abc.com, it works fine.
What am I doing wrong that it would let me connect with one hostname, and not another.
In my working environment have 40 system .Its ip address is given manuallyto connect each for lan connection .40 are not using ubuntu while other using windows .My question is there any package to trace ips of entire system
I couldn't find an answer to this question (not including vpn) on different threads so decided to eventually post it, though it's probably easy one. I would like to connect to some application on known IP and port in the internet from my LAN computer. However to do so (I have some application, not any administrative constraints or not being allowed to) I would like to use local addresses. So, let's say - I want to connect to the external host VV.XX.YY.ZZ, port AA using 192.168.EE.FF port BB. Baically so far I have limitation in my application (too many places for possible error, to correct it right now - will change it in future). Is it possible that after my application sends request to 192.168.1.EE port BB, my Linux transparently translates it to VV.XX.YY.ZZ:AA? I tried iptables tutorials and some forums, but nothing seems to be addressing this issue. I don't know if it's event possible with iptables but am pretty sure this should be possible.
while configuring the yum through proxy i was configures with some address(10.x.x.x). after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system. but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x). finally i come to know that, still some location old proxy address (10.x.x.x).is there.
how to troubleshoot this issue.(how to find the location) i was try to debug find the output below DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.
After searching/googling for information related to the topic, I haven't been able to get this working in KDE. Background: I have a Dell Studio 1745 with builtin Intel 5100bg wireless card. It connects to my Linksys WRT54G router just fine in openSUSE 11.2 & 11.3 using either KDE or Gnome. In Fedora 13 it only connects under Gnome, not KDE. Those are using NetworkManager. Using traditional ifup only works in Fedora under Gnome, i.e. nothing works under KDE in Fedora.
I bought a Buffallo Router WZR-HP-G300-NH with NAS, and I am able to mount the NAS with the "Connect to Server" drop down menu in Nautilus as a "Windows Share". All good so far. The eventual idea is that I would like to write my backups to this NAS drive. I can't find this drive in /mnt or /media. Not sure where to look. Because I can't find it in anything other than Nautilus, I can't direct a backup or sync to a location I can't find. If I can solve this problem, the next thing I will need to do is figure out how to automount on startup.
I am using several Ubuntu based Gnome distributions of various ages, oldest about 10.4, all behave the same (one Zorin, another Mint, another Ubuntu, 3 kids, no viruses!!!).
I bought a Buffallo Router WZR-HP-G300-NH with NAS, and I am able to mount the NAS with the "Connect to Server" drop down menu in Nautilus as a "Windows Share". All good so far. The eventual idea is that I would like to write my backups to this NAS drive. I can't find this drive in /mnt or /media. Not sure where to look. Because I can't find it in anything other than Nautilus, I can't direct a backup or sync to a location I can't find. If I can solve this problem, the next thing I will need to do is figure out how to automount on startup.I am using several Ubuntu based Gnome distributions of various ages, oldest about 10.4, all behave the same (one Zorin, another Mint, another Ubuntu, 3 kids, no viruses!!!)
I am trying to connect to my samba server with xubuntu, so far with no luck.
I am trying to use fusesmb and have been following these instructions:
as well as these:
the top ones say to use Applications - System - shared folders to setup smb client. Xubuntu maverick doesn't seem to have that menu point. So I copied the smb.conf from my desktop machine. libsmbclient is installed.
fuse as such seems to run since teh folder that i designated as mount point (~/Network) changes owner to root when i run fusesmb Network. But apart from that nothing happens.
I'm running 10.10 on a pretty fresh install with a brand new system I built especially for Ubuntu.For some reason, I'm beginning to have trouble with accessing my Samba shares from this computer. I have a Windows Home Server also running on my network and I have to be able to access the files on it.At first Nautilus showed "SERVER" in the folder tree when I clicked on "Network" and everything was working great. A couple of days ago my WHS "SERVER" suddenly no longer showed up in Nautilus and I had to mount the WHS server manually (via "Connect to Server...").
Now, today, even that doesn't work. When I try to mount manually I get the error "Failed to Retrieve Share List from Server". I can now no longer access the WHS from Ubuntu at all.Why has my ability to access the Samba shares on my WHS deteriorated over time to the point where I can't access them at all?? Any ideas?I have other systems on this network (Mac and Windows) and none of the others have any problems at all with the WHS. Re-booting WHS and router has no effect. I've changed nothing in my set-up. Is this update related?
For changing the the mac address of my lan card( eth0) in linux fedora 9(solphur) i used this command
And i could change my mac address successfully but now i couldn't connect to my network via a dhcp server ( in configuration section of my router im going to check my new mac address (because i want to spoof) ,how i can do that?