My server's hostname is 'cookhome'. I am wanting it to broadcast over my network so I can just use that name instead of the IP address, but it isnt working. I am unable to ping it from any other computer./etc/hosts
I am having problems with this computer program called fluent. I have a service request open with them and they need to know my computer's hostname. ANything I have tried tells me that my computers hostname and fqdn is localhost.localdomain. The people on the service request seem to not believe me. Is there anyway that the computer hostname is hidden? This is what I have tried:
I have Ubuntu server installed on my old machine, which has no avahi running. I want to be able to connect to it by hostname. Is it possible. I have a tp-link TL-WR941ND router, but it doesn't seem to have any related options. How can I do it? Is there another way?I know I can add them on by one to the host file, but that is not what I want. Also that wouldn't work well with DHCP, and new hosts.
I went into Yast and disabled the SYSLOG service, ignoring the warning of which services would be affected, I went ahead anyway and stopped it. Sure enough, a handful of other services stopped as well.Now I have almost recovered the PC from this foolish mistake of mine, the only problem I seem to be stuck with is I am now unable to locate the computer on my LAN by hostname ... does anyone know which service I should restart please (if it helps, the computer can resolve DNS names such as Google.com OK)?
I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?
I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?
Ref; Ubuntu 10.04 new clean installation, fully updated. I have set sharing for some folders so they can be seen on my windows network ethernet. However the sharing option is lost when I next turn on the computer. Can I make the sharing permanent?
Ok Ive tried soooo many tutorials and been through sooo many forums but I cant get my file sharing to work from any computer. Ive got a - Ubuntu 10.04(64bit) desktop to use as a home web/file server, wired.(BEN-SERVER)- Vista(32bit) laptop, wireless.(BEN-LAPTOP)- Windows 7(64bit) desktop, wireless.(BEN-LAVIE)- EchoLife HG520s ADSL2 wireless modem.
At the moment...In Ubuntu network browswer it only displays BEN-LAPTOP.But trying to browse BEN-LAPTOP I get "Unable to mount location Failed to retrieve share list from server".Vista only displays BEN-LAVIE and browsing gives me "Windows cannot access \BEN-LAVIE"And Windows 7 doesn't display any.Previously I was able to share between Windows 7 and Ubuntu but I don't know what I did but it stopped working. I have since reinstalled Ubuntu and tried again from scratch but no luck
Have followed swerdna's guide as in the past and my wife from her win7 computer can see and has read write access to all the shares & can print to the shared printer attached to the Opensuse computer etc. However, when I try to access her Win7 shares from my opensuse computer I am presented with a username / password prompt. Here is my smb.conf
[code]...
have followed swerdna's guide (as mentioned previously) and set 'password protected sharing' to off on the win7 computer.
I am a relative moron when it comes to using Ubuntu. This is a relatively old machine and I purchased it from a friend. She said Ubuntu was a good choice to maximize space as opposed to XP. I want to find a way (and maybe an example of one) to get a torrent download app on my computer for file sharing. I found one that uses Java, but when I tried to install java it was utter failure.
I am in college and live in a dorm room. As a dorm resident, I have access to only one wired network connection and I am not allowed to connect it to a router. My primary computer is multihomed and I was hoping I could share network access (eth1) through eth0 to a router. Then I want to hook up my secondary system to the router. I am not using the WAN port on the router. I believe this makes it act like a switch, which seems to be what I want.Here is my /etc/network/interfaces file on my primary computer
Code: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.
Here's the not-so-quick-and-dirty description of the situation:
I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.
I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).
The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.
Every machine has an equivalent resolv.conf:
As an example, I will show the output of a handful of my development machines:
I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:
columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200
Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL: - Ping by IP address - Ping by hostname - ssh, scp, vnc, etc by IP addess
Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.
Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.
Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.
Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.
I have a need to displace a serial port from one Linux computer to another computer running Windows (XP.) I am running Heyu on a Linux machine in a closet. The power leg for that circuit cannot let the X10 communication reach most of the rest of the house. Where it does work, is from my office but there I am running XP computers only.
I would like to plug the CM11A into my XP computer, share it's serial port and have the home automation computer (running Heyu and Linux) use the LAN to get to the XP serial port without Heyu knowing it is not a local port. Has anyone done this? Can I share a serial port in XP? Can I get Linux to map a serial port to a virtual one on another machine?
I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.
I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".
I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.
Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".
How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code: lancer@lancer-desktop:~$ ping www.google.com PING www.l.google.com (74.125.237.17) 56(84) bytes of data. 64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms 64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms 64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
I tried to change hostname through ssh. Old hostname = server1 New hostname = server1.domain.local
I changed the hostname by editing the /etc/hostname file Old: /etc/hostname server1 New: /etc/hostname server1.domain.local
Then I executed /etc/init.d/hostname.sh, and get as below, looks OK! hostname -f server1.domain.local hostname server1.domain.local hostname -s server1
The logs are still just showing server1. Example: tail -f /var/log/auth.log Apr 15 13:30:01 server1 CRON[22783]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 15 13:30:02 server1 CRON[22783]: pam_unix(cron:session): session closed for user root
Do I really have to reboot, or is this normal behaviour that it does not show the full hostname?
So I recently upgraded from Debian 5 to Debian 6 and now for some reason I cant SSH into my server FROM my server. All of the following fail with the same error:
[URL]
They all come back with: ssh: Could not resolve hostname 127.0.0.1: Name or service not known. I never actually tried this before upgrading so I'm not sure if its caused by the upgrade, but I would like to get this fixed. Also, ping with all of the above hostnames fails as well. I can SSH in from other computers and I can SSH out from the server. For whatever reason, I cant SSH from the server to the server though.
But, given that I've mixed some source and unstable packages in with my stable system, I'm now experiencing a few eccentricities (which really should make me swear off screwing around with my system, but, alas, I don't seem to learn from experience).
I digress. Anyway, in trying to play cdroms (with xplaycd and with kaffeine), it does not work. Kaffeine gives me the following feedback:
Code: The host you're trying to connect is unknown.
Check the validity of the specified hostname. (unable to resolve)
IP address settings work as expected, at the end of the installation netcfg runs again and when installed system boots it has static address set (.199). However hostname stays the same, it is not reconfigured.
I have tried many different combinations like removing get_hostname and get_domain options form initrd preseed and appending 'priority=critical' to kernel boot arguments but no matter what I do it always fails.
Is there any way to do this? I know that hostname can be set by hostname= krenel boot arg or by using dhcp option but I'd like to avoid this.
Any attempt to load a webpage gives a Cannot Resolve Hostname error. i can ping [URL], but cannot load the page. However, the page will load by typing its IP address [URL] I have been trying to figure this out for days. cat /etc/resolv.conf nameserver 192.168.1.254
when I was using Windows XP, I could copy files from my PC into the shared folder of another PC (with WinXP), through LAN, both conected to a router.now I'm using Debian Testing, but the other PC still has WinXP, and I have no idea how to access the shared folder of the Windows box, from my Debian box... but I found out that this type of file sharing is done through a protocol developed at Microsoft, but supported by Samba, only I don't know how to configure smb.conf so I can access the shared folder on the Windows box, and to copy files into it