General :: Slackware VM - Hostname Not Resolving

Jan 28, 2010

I have a version of slackware installed as a virtual machine and am not able to ping hosts or otherwise receive data from any IP addresses external to the LAN. I think this problem is due to the hostname of the vm not being recognized by the gateway (ddwrt); the vm receives an IP via dhcp but the gateway does not seem to recognize its hostname (registers as *).

Will readily respond with whatever conf file is needed.

View 14 Replies


ADVERTISEMENT

Slackware :: 13.37 UNC With SaMBa Hostaname From Win7 Box Not Resolving Via Broadcast

Jul 7, 2011

I have installed Slackware on MANY boxes over the years and SaMBa has always resolved hostnames via UNC (\slacksharename) on a local net, but I am now at a loss after trying this at home. A UNC to the share via IP (\192.168.1.123sharename) does work fine, but this is the 1st Slackware distro I have ever had problems with resolving a broadcasted UNC. Subnet is 255.255.255.0 w/ both machines plugged into a switch and they are "linked" fine and other versions of Slack worked fine... This is for a one-trick pony, SaMBa share only, but she is not doing tricks! My other Slack box 13.1.0 resolves a Windows 7 \hostnameshare request UNC fine on the same net. smb.conf (This is not the share I am going to use, but if once this works I can get a /dev/md mounted and shared with minor changes):

Quote:
[global]
server string = Server2
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
[Code]....

View 10 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

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

General :: Difference Between $HOSTNAME And $(hostname)

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

Slackware :: Cannot Ssh Using Hostname, But Can Using Ip Address?

May 11, 2010

I have a machine running Slackware 13. Recently I had to modify network settings on it and now I cannot ssh into that box from my local LAN using machine's name. I can only ssh by using its IP address.I searched the forums, Google, but I cannot find the solution.

View 6 Replies View Related

Slackware :: Can't Ping Any Local Hostname

Feb 20, 2010

I've setup two slackware in a Dell Inspiron 640m e in Acer Aspire One D150.

In my router the domain is "home", the two slack use wicd (dhcpcd backend) to connect. I can go in internet.

The problem is that in my router panel I can see the hostname (so dhcpcd send the right one) but they can't ping other machine in the lan (windows 2000, nas or other linux box).

Now I can't use a fixed ip (i change several networks with different routers).

I think I miss something that can ask to my router the hostname.

Anyway I was able to ping Dell.local and Acer.local with Ubuntu karmic.

View 14 Replies View Related

Slackware :: Linksys WRT350N Is Unable To Identify Hostname

Jan 12, 2010

I used to configure hostname in the rc.inet1.conf, DHCP_HOSTNAME[0] option and the router was able to recognize the client name, but with Slackware 13 it seems that there is a configuration I'm missing.

View 2 Replies View Related

General :: RPM - Aid Not Resolving Dependencies ?

Nov 29, 2010

I am installing rpm using the switch "--aid". But it is not resolving dependencies! I am using RHEL 5.

View 1 Replies View Related

Slackware :: Apple Time Capsule DHCP Sets Bogus Hostname?

Jan 20, 2011

During Slackware 13.1 setup, I chose the hostname stella-sl2. This hostname is also the one that the system is displaying before I configured network access. After configuring wired network access to my Apple Time Capsule, my hostname suddenly changed to INTERFACE='eth0'. As a result I'm noticing some very strange things, like the login prompt which has become "INTERFACE='eth0' login: ".

After configuring wireless network access to the Time Capsule, the hostname changed to "INTERFACE='wlan0'". Note that, during boot, wlan0 is brought up AFTER eth0.

Also strange is this:

bash-4.1$ cat /etc/HOSTNAME
INTERFACE='eth0'.DNSSERVERS='10.0.1.1'
bash-4.1$ /bin/hostname
INTERFACE='wlan0'
bash-4.1$

Until now, it was only a minor annoyance, it didn't prevent anything from happening, internet connection was not affected. But now I'm configuring sendmail which needs to talk to a relay SMTP server, and sendmail "HELO"'s itself using the bogus hostname:

>>> HELO INTERFACE='wlan0'
<<< 501 HELO requires valid address
554 5.0.0 Service unavailable

Probably this is caused by the Time Capsule not adhering to standards. However, the Time Capsule's firmware is the latest version, so I cannot fix this. Is there a way to prevent dhcp from changing the hostname? How can I make sure that the hostname that I configured during setup remains active?

View 2 Replies View Related

General :: Automatically Resolving Rpm Dependencies ?

Nov 23, 2010

I installed fedora core 10 on my pc & now i have been trying to install samba. I dont have a network so i mount and use my dvd for installation. I lack exotic package management tools like apt or yum yet the system-config-packages tool does not make sense either. so am stuck with the rpm -ivh [package] command.

The issue however is that this command returns querries about missing dependencies when I attempt to install. So is there a way (switch) i can add to tell the rpm command to automatically check and solve these dependecies using the Packages folder on my mounted dvd? - because i believe all these dependencies are on the dvd.

View 1 Replies View Related

General :: Resolving Variables In FTP Session

Jun 28, 2011

I set a variable before entering the FTP session (vDate). Then it does not seem to resolve when I try to use it in the session as part of an mput command. $vDate resolves as an empty value. Can you point me in the right direction?

View 1 Replies View Related

General :: Loop Detected When Resolving The Name From Dns?

Apr 26, 2010

The problem of loop detected when resolving the name from dns.Why the problem of loop detected comes when name is resolving from dns.

View 4 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

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

General :: Ubuntu Not Resolving Local Names ?

Sep 22, 2010

I have been casually using Unix for about 20 years, but I've never really done anything beyond basic user things unless I had instructions/help.

I've set up an Ubuntu 10.04 system and it works great except for one thing. It doesn't resolve local names.

I can ping or access other systems by IP Address and I can resolve internet names with no problems, but it won't recognize any of the other systems on my home network.

The system is set up for dhcp and everything is defaulted from the installation. There is no DNS suffix or domain set up on my router.

View 8 Replies View Related

OpenSUSE Install :: Set $HOSTNAME To Dynamically Update With The Hostname That Is Specified For The Ip In DNS?

Apr 6, 2010

How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?

View 3 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

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

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

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

General :: Resolving Symlinks Mounted Via Samba On Windows?

Feb 11, 2010

I have a samba mount in Windows, mounted from a local Linux devbox. The projects on this mount contain a lot of symlinked directories. They all work fine and look like normal directories to Windows. What I'd like to do is figure out for a given file what its real UNIX path is.The context is: in my editor I have a script that runs the Perforce open command, to which I pass the file location.p4.exe edit FILE_LOCATION

However, perforce will not understand this FILE_LOCATION, if on the Linux side part of the path is a symlink. It needs to know the real path.What I need is something along the lines of the Linux readlink command, which resolves symlinks in paths.

View 1 Replies View Related

Slackware :: X :1.0 -query Hostname --> (EE) Failed To Load Module "fbdev"

Dec 25, 2010

On Slackware 13.1, I am trying to connect to another computer using:

X :1.0 -query <hostname>

but I get a black screen and then the following error:

$ X :1.0 -query slackserver
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0

[code].....

I tried to connect to both another Slackware 13.1 computer and a Debian computer. I also edited the /etc/X11/xdm/Xaccess file on the remote host to enable the graphical login access. I always get the same error.

View 4 Replies View Related

Slackware :: Change "bash-4.1#" To "user@hostname ?

Aug 18, 2010

How do i change "bash-4.1#" to "user@hostname. really distro version is 13.1, google has failed me an new to slack.

View 16 Replies View Related

General :: Hostname Does Not Have A FQDN?

Jul 7, 2010

I'm using Ubuntu 10.04 LTS

By typing the command:

hostname --fqdn

I get the following

hostname: Name or service not known

As requested by Raphaƫl Hertzog

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

[Code].....

View 3 Replies View Related

General :: Hostname Changed By Some One?

Apr 12, 2010

I have some problem some one changed hostname on my system. If I do following I see

Code:
knoppix:~# cat /etc/hostname
debian
knoppix which is coming in left side in above output is not my hostname.
The hostname is debian.

How do I get that name back so that when I do cat /etc/hostname output is like following.

Code:
debian:~# cat /etc/hostname
debian

View 4 Replies View Related

General :: How To Assign Hostname To Given IP

Apr 14, 2011

I've installed a new copy of Ubuntu 10.10.Now the big question for me is how do we assign hostname to a given ip? I've given the hostname during the server installation and "cat hosts" says "ebox" hostname I'm trying to put on.Also,I modified the network/interfaces to static and assigned proper values.

#hostname returns ipaddr not the hostname. Also nslookup hostname/ipaddr says server can't find ....

So,is installing dns through bind and setting-up the only way to do that?

View 9 Replies View Related

General :: Add Multiple Hostname ?

May 21, 2010

I am having problem resolving hostname. i had 1 server and its hostname is resolving fine. i purchased 1 vps and its hostname isnt resolving. for server 1 say hostname is server1.domain.com. and for vps i add server2.domain.com. and when i ping my server2.domain.com i get Host Unknown error. do i add Hostname and make it resolve in VPS. i want to use hostname like server2.domain.com.

View 1 Replies View Related

General :: Can't Contact Machine By Its Hostname

May 3, 2011

I just upgraded to Ubuntu 11.0.4 (from 10). In my /etc/hostname file, I defined my machine's name, "my-machine". From the server, I'm able to SSH to myself,

ssh dave@my-machine

However, from another machine in the same network, I'm not able to SSH

Code:
davea-mbp2:systems davea$ ssh dave@my-machine
ssh: Could not resolve hostname my-machine: nodename nor servname provided, or not known

However, I'm able to SSH in using the machine's IP address. how I get my machine name recognized on the network?

View 1 Replies View Related

General :: Add The Hostname To Output Of Other Command?

Apr 28, 2010

i have a variable called hostname which contains hostname of my machine. How would i add the hostname to output of other command . For eg. if a output of command is . command : xm list

Quote:

abc 123 334
bcd 223 333
ddd 333 333

How would i add hostname column to it. My output should look like

Quote:

abc 123 334 hostname
bcd 223 333 hostname
ddd 333 333 hostname

View 1 Replies View Related

General :: Getting Hostname Of Machine Using Bash And RH 5.4

Mar 26, 2011

I admit I am a little green with the "Bourne Again Shell" (Bash), even though I was always not as proficient with the Bourne or Korn shell as with C Shell. From recent research the public sway is to Bash over tcsh. I can see I have been away from Linux/UNIX way to long. Running a network of workstations (upto 6) and servers (2) running RH Enterprise Linux 5.4 plus in the same network is an old DEC Alpha running Tru64 UNIX (don't know which version): I looking for a method to get the hostname I am logged in on to use in a Bash (or if necessary sh) script. This is to be added to an auto_start shell script start up our application on Linux workstation and servers.

View 7 Replies View Related

General :: Hostname: Unknown Host

Jan 15, 2010

I am installing ISPconfig on a Ubuntu server 9.10. When i write hostname -f i get the unknown host message.

View 4 Replies View Related

General :: How To Recover /bin/hostname File

Aug 20, 2010

Accidentally i have deleted my /bin/hostname file
i am using redhat centos 5.4 so me how to recover it

View 1 Replies View Related

General :: Unable To Connect Through Hostname?

Oct 7, 2010

I have configured one samba server. its working fine. the problem is whe we connect from windows machine , through ipaddress its connected. but i am not able to connect through hostname.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved