Fedora Networking :: Change The 'DHCPclient' Hostname Send To Router?
May 6, 2011
first time user of F14 here. Used PCLinuxOS so far. Installed F14 fine , got samba up, set the hostname of the box to fedora.linux BUT when I connect to my wireless router (Belkin) the hostname shown in the routers DHCP client list is different:
Router shows:
IP Address-----Host Name-----------------MAC Address
192.168.2.4----ralf-FK790AA-ABA-m9---00:22:5F:17:dE:98
In terminal it shows
[dagaz@fedora ~]$ hostname
fedora.linux
[dagaz@fedora ~]$
When I search the forum or google, I end up with hostsfile or samba howtos. Those settings all show the right name : fedora.linux Why does the router show ralf-FK7 etc..? and where can I change it?
View 1 Replies
ADVERTISEMENT
Oct 1, 2009
Yesterday, while trying on establishing mobile broadband, my hostname changed, and I can't make it yet. My /etc/hosts is
1 127.0.0.1 pc-194-101.fysik.uu.se localhost.localdomain localhost
2 127.0.0.1 pc-194-101.fysik.uu.se roddur
3 ::1 localhost.localdomain roddur
The second line I edited but after a reboot it inserted the first line all automatically and my /etc/sysconfig/network is
1 NETWORKING=yes
2 HOSTNAME=roddur
What I have to do if I have to change my hostname to "roddur"?
View 2 Replies
View Related
Jul 22, 2010
On my network right now I have Ubuntu, Fedora, Debian, and Linux Mint computers. I got tired of getting my IP addresses scrambled every time I reset my router (which is the first thing the techs make you do if something isn't working). So yesterday I setup my computers with static IP addresses (from the computer side instead of the router side). Each of my computers has a unique name (happens to be mario-themed). If I use hostname, I get the proper name:
Code:
[-@supermario ~]$ hostname
supermario.mushroomkingdom
[- @supermario ~]$ hostname -s
supermario
But on the router, only the Linux Mint system appears with a name. All the rest of the systems appear as their IP address. What can I do to make them send their hostname over to the router? What is Linux Mint doing differently?
View 5 Replies
View Related
Dec 22, 2009
I have a very simple setup
router DIR 100 4 ports
adsl connected to WAN
Linux connected to port 1
Mac connected to a port 2
I am trying to figure why linux hostname is not detected in my LAN. The strange thing is that my macs hostname is automatically detected and put in DHCP CLIENT LIST! I have scrolled the whole manual 10 times.
My Linux (Slackware 13) gets IP address automatically by DHCP server in router. Has anyone had this problem with routers in general?
Output from router DIR 100:
View 2 Replies
View Related
Feb 11, 2011
I have two virtual hosts that I want to be able to send through one router. I have two seperate dynamic hostnames on dyndns.
Apparently my router allows me to enter two seperate hostnames locally as well: DynDNS Host and Domain Name
Code:
How do I tell the router which is which? Currently I see the same site with both URLs
Do I have to set one vhost to do some 'funky' stuff (black hole in my head when it comes to static routes or BIND? ). And then set the other vhost to host both sites?
I'm running CentOS and an apache webserver. I want to demo a web site 'externally' from two different sub-domains.
I've looked high and low but most examples don't seem to be simply trying to put two different web-sites up to two Dynamic DNS Hosts.
It must be possible, all the pieces are there. I'm just missing the link!
View 10 Replies
View Related
Jan 19, 2011
Is there any way to change Hostname in Fedora 14?
View 4 Replies
View Related
Dec 14, 2010
I am looking for a way via script to change a systems hostname and IP address!
View 1 Replies
View Related
Jan 3, 2010
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.
View 7 Replies
View Related
Jul 29, 2010
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.
View 3 Replies
View Related
May 24, 2010
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.
View 2 Replies
View Related
May 22, 2011
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.
View 1 Replies
View Related
Sep 1, 2010
I recently installed Fedora 13, Xfce, on my HP netbook. It's using AR9285. When i try to connect to my network with WPA enabled it will not work despite the password info being correct. I'm using a DI-514 router, with no updates to firmware. It only works, if I change the password, then use said password, then, when I disconnect, said password no longer works. WEP works just fine, open network works fine, why wont WPA-PSK work?
View 9 Replies
View Related
Jun 14, 2010
I use to have problems getting my wireless card to connect to any network on ubuntu. I discovered that I needed to change my encryption mode from Auto to AES or TKIP on my router. After I did this I was able to connect to my network with full wireless n support. I am using a d-link DIR-615 wireless n router.So far I know this works perfectly on 9.04-10.10 alpha.
View 1 Replies
View Related
Feb 1, 2010
Running Fedora 11.
Did get a Kimsufi dedicated server through [URL] When I did get it the hostname resolve does not work.
I have never got any of this problems before so this is my first time playing with the network settings.
Nothing works! Lynx, wget, yum and so on. IT works if I do enter the hostname by its IP. But thats not working in the long way
Quote:
ping cnn.com
ping: unknown host cnn.com
Quote:
#nslookup cnn.com
Server: 127.0.0.1
Address: 127.0.0.1#53
[Code].....
View 2 Replies
View Related
Nov 13, 2010
When I use Ubuntu, my DSL modem correctly gets the hostname I call my computer "mertensia", but I'm having issues with Fedora. Yet, when I look at the name assigned by the modem (using URL... in a web browser),I need the PC Name to be mertensia, because otherwise it will complicate how I ssh immensely.
View 4 Replies
View Related
Jul 3, 2011
I have 4 installations of Fedora 14 running on a Win 2008 R2 server in Hyper-V.
When I try to ping my desktop or the host server via the hostname from within any of the Fedora installations, the ping fails. I can ping by IP without issue. Also if I try to ping the VMs from my desktop it fails. I have an XP VM setup that I can ping without issue via hostname and IP.
All of the VMs can access the Internet without issue. I have disabled all firewalls on all systems with no luck. My desktop can ping the Hyper-V server without issue so it would appear that the problem lies with the Fedora installations.
My resolv.conf
Code:
Does anyone have anything I can try to get the name resolution working?
View 4 Replies
View Related
Mar 8, 2009
So everything seams to be fine on my F10 boxes networking. I can ping computers on the network with both LAN IP addresses, and their hostnames. However, I can only access my F10 box with a LAN IP. In windows, I go to view workgroup computers... only the windows systems. If I go to the F10 system with samba via the IP address it works fine, just can't get to it with a hostname.
I'm wanting a static IP of 192.168.1.22. And on the windows workgroup "workgroup".
I'm new to doing things with linux that are remotely difficult... and well, this has proven to be. I can't work out if this is a SMB problem, general networking...
smb.conf (I've ommited the top info segment due to forum character limit, as well as the SELINUX notes)
Code:
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
#
[Code].....
View 7 Replies
View Related
Sep 5, 2011
I got a diferent domain. I got a modem-router (192.168.1.254 ) thats connect my computer with apache (192.168.1.68) I got dinamic dns with inadyn to update the ip adress for my domains. My question how to edit the hostname file (/etc/hosts)?
[Code].....
View 3 Replies
View Related
Feb 13, 2009
After installation, I changed the hostname of my computer, using system-config-network. However, after every reboot, it no longer wants to automatically connect to the network. The only way I could fix this was to remove NetworkManager-gnome and install knetworkmanager and use it to create a new connection. There was a flag there to autoconnect.
The other problem is that the hostname never shows on my network. My other PCs all have visible hostnames. One is an Ubuntu box and the other Windows XP. These machines can be pinged by hostname. The Fedora box can only be reached from the other PCs by specifying the numeric IP address.
I've checked the usual places and the hostname is correctly specified. Entering the 'hostname' command returns the correct hostname on the Fedora box. I am running Fedora 10.
View 2 Replies
View Related
Oct 23, 2009
At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?
View 4 Replies
View Related
Nov 3, 2009
I have a problem.ADSL modems not see my hostname.My hostname is "unknown"
Code:
Code:
View 11 Replies
View Related
Nov 25, 2010
I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.
[code]...
View 4 Replies
View Related
Aug 16, 2011
The details of "how to access externally with hostname instead of IPAddress in fedora"
View 1 Replies
View Related
Nov 24, 2010
I did a new install of Fedora 14. This is my first time using Linux seriously and I am trying to figure it all out.
I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.
Here is /etc/hosts:
Quote:
I disabled the firewall, disabled SELinux, and still not able to ping it.
Here is the info from ifcfg-eth0 :
Quote:
Quote:
View 5 Replies
View Related
Oct 31, 2010
Cannot connect to internet via Firefox or Midori on my Dell Inspiron 8200 laptop with a Netgear wireless card. However, I can update via yum, I can ping google from the CLI, I can ssh to my desktop, I can point a browser to find my router which /etc/resolv.conf points to, but can't get a browser to resolve hostname. I'm posting from a different machine (desktop), here is my /etc/resolv.conf:
[Code]....
View 14 Replies
View Related
Apr 15, 2010
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?
View 10 Replies
View Related
Aug 12, 2010
I have changed my hostname to - ns1.searchdns.net by
1) editing the files /etc/sysconfig/network
2) then run the command - echo "ns1.searchdns.net" > /proc/sys/kernel/hostname
3) then restarted the service /etc/init.d/network restart
I run the command hostname and it returns ns1.searchdns.net. But I am also supposed to modify the /etc/hosts file. I am not sure about this. The content looks like this at the moment
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.20 abc.com
What should my host file look like now? I am not sure if I should also modify the second line or delete it etc.
View 1 Replies
View Related
Apr 8, 2011
I just installed FC14 64 bit system and I am looking to setup a snmp trap server so I can send up/down traps from my router to it which in turn will email me though sendmail. I have installed "net-snmp-utils-5.5-21.fc14.x86_64" and "net-snmp-libs-5.5-21.fc14.x86_64" packages and have downloaded snmptt_1.3 but I don't have the command "snmptrapd". Is there another package I need for this? Could it just be x64 doesn't support it?
Here is some info off the box.
[root@scanserver ~]# uname -a
Linux scanserver 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@scanserver init.d]# !rpm
[Code]....
View 13 Replies
View Related
Jun 13, 2010
I setup the hostname for my linux machine to Linux. If I try ping Linux from the same computer it works. If I try from another computer inside my network the host can not be resolved. If I ping the IP from another computer it works.
I take a look in my router at DHCP client list and my linux machine doesn't have the Hostname set up.
How to broadcast the hostname to the entire network?
View 8 Replies
View Related
Jan 11, 2010
How do you change the hostname in SLES11? I have normally used the /etc/hostname file and rebooted the server in other distros. I only notice the way to change it is in yast2 -> network devices -> network settings -> Hostnames. I am looking for where it is stored because I want to write a script to update it (apart of a server deployment process).
View 9 Replies
View Related