Ubuntu Networking :: NetBIOS - Addressing Computers By Name
May 6, 2010
I'm having some trouble addressing computers by name. I've just upgraded most my my box's to Lucid, and it was all working fine, but suddenly stopped - not quite sure why, or what I did, but I need it to come back! At first I thought it was my old router dying (which it was) but a new router hasn't helped.
I've now moved DHCP from the router to my server, and that's working fine, giving out static IPs from MAC addresses, and so forth, but I still can't address anything by name. My server is on 192.168.100.1 and called myth-server, if I
[Code]....
View 2 Replies
ADVERTISEMENT
Jan 16, 2011
I'm wanting to set up a network. I'm still confused as to how to set it up. I think the easiest design is to have a switch on my border router.n this switch will be the servers. Also attached to this switch will be a Linux box. This will be a dedicated firewall. On it will be another switch. And the machines on the internal network will be attached to this switch. In the book "building Internet firewalls"(o'reilly) this set up is described as a screened subnet architecture. However the external interface on the Linux dedicated firewall will have to get it's I.P via dhcp (192.168.1.*) from the border router.
That or it can be a static I.P on the same subnet as the border routers dhcp range 192.168.1.*(but outside the dhcp range) but that would be trickier.The internal interface of this dedicated firewall would be static and on a different subnet as the external interface (192.168.2.*). Then this internal interface could give out I.Ps to the internal network that are on 192.168.2.*. If it did N.A.T for packets from the internal network then N.A.T would be being done twice; once by the Linux dedicated firewall and once on the border router, before going off to the net.Or is it a better approach to NOT do N.A.T on the Linux firewall and have all I.Ps on the whole network assigned as static(outside of the border router's dhcp range, but all on the same subnet(192.168.1.*))?.
Basically is there any point in the Linux box doing dhcp and N.A.T for hosts on the internal network?. I guess the answer is no. But i just wanted to hear your opinions, if you have the time. The border router is a home router. nted to have a normal triple-homed dedicated firewall and put it in the border router's DMZ but it proved unpredictable and tricky. So i just wondered what the best I.P addressing scheme would be for my newer way.
View 1 Replies
View Related
Mar 1, 2010
At the CLI, I want to know how to get a netbios name from an IP address. It seems that every solution that I have found is windows based, or requires me to install something beyond samba. is a simple "prog-x -somearg 192.168.1.100" or similar to get the netbios name - and that it doesn't require a reconfiguration of my server?
For instance, I would like this to be usable on a desktop system in an ad hoc without having to be run from root.
View 8 Replies
View Related
Jan 27, 2011
It's more just straight networking rather than Linux related - possibly a rather large gap in my knowledge.Been asked to set up a Linux firewall / router for a friend, and he wants an external address on his PC and his firewall. He's got a /30... ISP seem to think this is normal. My understanding was different router interfaces should be in different subnets when it comes to addressing. eg:
WAN 1.1.1.1LAN 192.168.1.1/24 (then PC 192.168.1.2)This is how I'd set up an enterprise router, and from memory how I had to regurgitate networking for my Cisco exams. But they would have been large devices within a BGP environment, how does this compare to home use? Can you have interfaces on the same router within in the same subnet? I'm looking for the real world answer - not my CCNA answer or the config addressing scheme I just blindly followed...Is this right or can different interfaces be in the same subnet?If they can be in different subnets How would you do that with an eternal 1.1.1.1/30? egWAN 1.1.1.1LAN (what IP?) then PC 1.1.1.2Would you actually just set the router up as a /29 and then use the additional IP addresses for the LAN NIC on the router? (yes I'm aware you couldn't route to where it had actually been allocated)
Then with that how do I route the 1.1.1.1/30? Which interface do I point it at? Even with a /29 I'd still have a routing issue right?Or are the ISP expecting you to do something with NAT / port forwarding. (and yes I could do this to get it working - but I want to understand it better) I'm asking the question here, because rather than just wanting a magic file to get things working, I'd actually rather understand the principles rather than just press a button and have it work.
View 7 Replies
View Related
Apr 29, 2010
I have been beating my brains out the last few days trying to get my linux box to ping my Pc's via the netbios name. (ping pc_name) I have read post after post with no luck at all. What i do know is that my pc's can ping the linux box via netbios name with no problem. Samba works from the pc's but not the other way around. I have added wins to my host in the nsswitch.conf fileMy smb.conf file:Quote:
global]
workgroup = OFFICE
server string = Samba Server Version %v
[code]....
View 10 Replies
View Related
Oct 8, 2010
I've a server in an European data center, My server is receiving a lot of UDP Netbios Boradcast packets (I've sniffed them via tcpdump )
I've block the sender IP via iptables but tcpdump again shows the packets that are receiving.
an example tcpdump output 16:35:25.829592 IP SENDER-IP.netbios-ns > MY-SERVER-IP.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
How can I block those broadcast packets?
View 8 Replies
View Related
Sep 18, 2010
In recent days, (today is September 18, 2010) I've been surfing the web trying to learn how to access nodes in my soho lan by netbios names instead of having to connect through the ip number, because ip's change every time according to DHCP assignments. I do not know what has happened to the "new" command mount.cifs, but things seem to have become a bit more complicated with the new version. Security problems, they say, and surely that's the reason.
I show here an automated way of loging into servers by netbios name instead of having to resort to the use of IP numbers, hosts files, wins servers and all that jazz. This is especially useful if your soho lan have five or more network nodes, and you do not want to go finding out the ip numbers assigned to the machines you want to connect to (temporarily or permanently).
This output is piped to gawk to isolate the line containing <00>, and gawk outputs the first element (print $1) of that line, which happens to be the ip of the server ServerName. I tested the script in my soho network, which now has Linux, Windows XP and Windows 7 nodes, and it worked perfectly for both tipes of servers.I'm using GNU's gawk, but I'm pretty sure that awk would do the job just as well.
View 1 Replies
View Related
Jan 8, 2011
I'm wanting to set up a network that has a simple screened subnet architecture. The boarder router will have a switch plugged into it. My servers will be plugged into this switch. Also plugged into this switch will be a dedicated firewall. This firewall will protect the internal network. The boarder router is not very flexible. You can have hosts that use dhcp but that get the same internal I.P address each time their interface is configured.Or you can configure static I.Ps on hosts that are outside the dhcp range of the router, but that have the same subnet address.
The most simple way to set up such a network would be for every interface to have a static internal address that is obtained via dhcp from the boarder router. Like i said the boarder router is doesn't give you much freedom. Meaning that it lets you have a static internal address but not a different network address for different interfaces. That is where the confusion is, for me. If all the interfaces that get theirI.P addresses from the boarder router are on the same network, then what about the systems on the internal network. They might as well get their I.Ps from the boarder router as well, to avoid NAT being done twice before their packets get sent out to the Internet?.I wanted a three interface firewall to separate the DMZ from the internal network, instead of using a screened subnet architecture, but the boarder router only allowed one interface to be in the DMZ, i think and it didn't seem to have a well designed way of controlling the DMZ ie setting a new default gateway etc.
Should i let NAT be done twice for packets from the internal network i.e have the dedicated firewall do dhcp and NAT for the internal network, but this firewall's external interface have a static internal I.P from the boarder router, and the internal I.P of the dedicated firewall have a static internal I.P from the router as well?. It looks like all the interfaces have to have the same network and subnet address, except the machines on the internal network(which can get their I.P from the dedicated firewall)
View 5 Replies
View Related
Jul 24, 2011
Why does a NIC need a permanent individual way to distinguish it? Why not give it the host name in a form that is not a permanent hardwired hardware? Seems that the last ethernet router before reaching your PC is really seeking your NIC. So why is not the expression "What is your NIC Address" instead of "What is your IP Address"?
View 5 Replies
View Related
Jan 28, 2011
Givens
LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD
Goal
From CentOS 5.5, have
# ping AwesomePC
resolve to a ping on 192.168.1.20
Problem
# ping AwesomePC
resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers
ATTEMPTS
Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast
Does # ping even care about samba? How can I get this to work?
View 5 Replies
View Related
Nov 30, 2010
I have a fileserver that I want to share out samba shares. However, i configured samba to have another netbios (SAN) and my windows box still sees whoopn-SAN which is the name I gave to my server when i installed it. Now I am using 9.10 and I know that i can create a share from the gnome gui in nautilus and that appears to be a windows like share. How can I turn OFF the windows like shares that ubuntu does out of the box and use ONLY samba? I ask because there appears to be a conflict of permissions b/w samba and this stuff.
View 7 Replies
View Related
May 11, 2011
I am on a 172.16.x.x network with about 60 Windows XP home and Vista home clients in a peer-to-peer workgroup that uses DHCP to assign addresses. About half the traffic on my LAN is netbios broadcast. I do not want to do a WINS server because I do not want to have to manually change the registry on every machine. This is only for local name resolution and I do not have any web servers or e-mail servers. I do not have access to a Windows server to use as a DNS server. I am on Debian and using BIND but am open to other suggestions.
View 1 Replies
View Related
Mar 12, 2009
I cannot get static addresses to work on eth0 and eth1. eth0 seems to use DHCP while eth1 uses the static information. Sometimes the static info is used but the interfaces get the addresses reversed.
From /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mosaic
[code]....
View 5 Replies
View Related
Jan 20, 2011
I have 2 xbee explorer USB boards hooked into my Acer Netbook running 10.04.e successfully mapped the /dev/tty/USB0 and set it up as com2 to use with X-CTU XBee software. It works. WHen I try to have a 2nd USB explorer board and do the same mapping thy both show as the same manufacturer so the same address(006). Even though the second reads as /dev/tty/USB1. Has anybody ran into this situation as well
View 1 Replies
View Related
Jan 31, 2011
im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right
View 9 Replies
View Related
Aug 29, 2010
I have these two ports open for some reason. netstat says they're attached to 'smbd', but when I look at packages installed and search for smbd the only thing that comes up is samba4 which is NOT installed.
I'm guessing some other package installed this as a dependency. Is there anyway to find out what it was and remove it?
View 4 Replies
View Related
Nov 20, 2010
I am having a heck of a time trying to find directions on networking my two computers together in order to share files. I have two machines running Ubuntu 10.10 Desktop & Netbook remix.
They are both connected to my wireless router to connect to the internet.
View 9 Replies
View Related
Apr 17, 2011
How do I get the VideoLAN device information that corresponds with /dev/video, and /dev/video1 for vlc targetting?
This command kind of does what I want code...
However I want to target my second webcam, not the first one. How do I do the v4l2:// for my second webcam?
View 1 Replies
View Related
Feb 16, 2011
I have a dual CPU system, where each CPU has 4G of associated RAM. I would like to know how to determine the logical memory address start of memory in the user address space for each CPU. I am running OpenMP, and have 16 threads, for a problem that parallelizes. What I would like to do is to be able to put half the data on each of the 4G, so that each processor will have half the data local, and thus reduce the amount of data transferred from one CPU to the other.
View 3 Replies
View Related
May 25, 2011
I'm not a developer or programmer just a user.I'm trying to install a packet radio system using Linux. The TNC is a Kantronics KPC3.The issue I'm having is the communications programs I have tried (minicom and cutecom) do not talk to the TNC. I'm using a computer that has a serial port and it is enabled in the BIOS.I have added myself to the uucp group in an effort resolve this issue.
View 6 Replies
View Related
Jul 11, 2010
I'm having trouble getting my debian box to find my windows box. This should be possible using netbios names.
The debian box is a newly installed minimal (nothing but base) release, to which I've added samba (using apt-get).
The windows box can see the debuan box just fine. Attempting to ping it by name results with:
Pinging debbox [192.168.1.100] with 32 bytes of data: ...
But going back the other way, the debian box can't see the windows box.
ping: unknown host winbox
I'm pretty happy that the windows box is behaving itself as there are no problems getting it to interact with other windows machines on the network.
Looking on google, the suggestion is to modify the host line in /etc/nsswitch.conf to include wins: hosts: files dns [b]wins[/b]
This worked on other linux machines in the past but not this time.
So my guess it that I've got SAMBA mis-configured or I'm missing a package.
View 1 Replies
View Related
Nov 29, 2009
Does anyone know how to configure Fedora 12 to use netbios over an OpenVPN network
putting
hosts: files wins dns
into the nsswitch.conf file enable netbios over the LAN but not over the VPN.
View 4 Replies
View Related
Apr 6, 2011
If you're running samba server on your Slackware box on a windows network / domain, and you don't want it showing up on the windows computers network neighborhood browser, there's a couple of things you have to do. First, add the line:
disable netbios = yes to the global section of smb.conf. This didn't work for me so I also figured out the next step:
Second, edit the rc.samba script and remove the references to starting or restarting nmbd.
In this line: if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd -a -r /etc/samba/smb.conf ]; then
Remove the reference to nmbd (underlined above) so it looks like this:
if [ -x /usr/sbin/smbd -a -r /etc/samba/smb.conf ]; then
Then comment out with a # this part: #echo " /usr/sbin/nmbd -D" # /usr/sbin/nmbd -D
and add a comment # mark here (right before nmbd)
samba_stop() {
killall smbd # nmbd
underlined above, then restart samba or reboot. The first step may not be necessary if you make the changes to rc.samba but I did both and that took care of it.
View 8 Replies
View Related
Dec 27, 2009
I'm running FC12 x64on a Dell PE2950 to host some virtual guests, but FC12 host drops CPU errors (IERR asserted) and reboots whenever CPU utilization jumps above 30-40%. Found mention here from end of 2007 checked /proc/cpuinfo and DO have the 38 bit addressing processorsDoes anyone know if there's a kernel module I can load or am I going to have to custom build a kernel with that module available? What mod is it?
View 5 Replies
View Related
Sep 9, 2010
I've got a problem occurring with my openSUSE 11.3 // GNOME Empathy Chat Client. When I try to connect to my Facebook account, my client tells me that I have a Network Error. Last time I used the client at home, it worked perfectly fine, but when I'm at work it doesn't.
Now, you guys may say that my work's network may have ports blocked, or the firewall is blocking its use in some way, but I find that hard to believe. My reasoning? I am able to connect to my Facebook account thru Empathy at work on my previous Ubuntu 10.04 system with no problems. I have also been connected to the same chat accounts this whole week on my openSUSE 11.3 // KDE 4.4 Kopete chat client.My Empathy connects to my Skype with no problem also. So, do any of you have any ideas that could possibly solve my issue? I love being connected to my Facebook chat at work because I don't see anyone nearly as often, and it's a great way for me to keep in touch with them.
View 2 Replies
View Related
Aug 17, 2010
I have a fairly standard home network set-up with a router and a couple machines on the internal network (with private IP addresses 10.0.0.x). One of these machines is running my subversion server, which is in turn used by my laptop. I am now trying to configure my laptop in a way that I can have one working subversion copy connected to the repository which works both when the laptop is connected to my home network as well as if its connecting from internet. I configured a "virtual server" on the router, so that port 443 goes to the machine with subversion, and this works fine. Now I don't know how to configure the laptop to go to the same machine - because the IP is different if I want to access it from outside and from inside. I tried to connect to the external IP of my network, but the router refuses to let the connection go "out and in again". how to get it configured?
I am using Debian linux with wpa_supplicant on the laptop.
View 1 Replies
View Related
Oct 7, 2010
I successfully installed Ubuntu 10.04 on 2 laptops (both are identical in terms of hardware). In addition, I connected both of them (using RJ45 cables) to a switch (just a switch; I don't have a router). Can anybody guide me what should I do / what settings should I specify in each laptop in order to be able to SSH from one laptop to another?
View 9 Replies
View Related
Jan 29, 2010
We have 5 computers networked with 9.04 installed. On some days, when you click on Place -> Network, then all the computers will show. On other days, like today, it does not show. However, one can ping them and I have been able to print to one computer which has the printer attached. SAMBA is installed on the computers for file and printer sharing.
View 2 Replies
View Related
Mar 21, 2010
both are running 9.04i have samba installed on both, each computer can ping the other, they each have a folder that is being shared, and they each can see a third computer that has windowsxp on it. however, they cannot see each other.not really sure what is going on.went to places/network and nothing shows up except the windowsorkgroup/computer.
View 7 Replies
View Related
May 3, 2010
I have a small home network. Computers A and B are both running Kubuntu Lucid. Computer A has an external USB hard drive attached, partitioned ext3 and mounted to a folder in computer A's home folder. Computer C is running Vista. I installed Samba, and computer C can access all the files on both computers A and B. But using Samba, computers A and B can't see each other OR computer C. That's not really important to me, but they can't
So I installed NFS and got computers A and B talking that way. I like NFS better. It's faster than Samba. BUT, computer B can't access computer A's USB drive, and I need it to do that. When I'm using computer B and I click on the folder the drive is mounted to, the file manager just shows the folder as empty.
View 1 Replies
View Related