Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ETH1 is probably your NIC as linux sees it, some distros don't start at 0, How many NICs to you have assigned to your VM in VMWare, if you have only one and can get tot the internet ETH1 is definately your correct network connection. Do you have Samba installed, is it configured to work with your workgroup. Are you trying to use Homegroup in Win7 if so it only works with other Win 7 machines. You are on seperate subnets also if your network adapter is NAT try making it bridged and see if that makes a difference, or use host only networking, no Internet but the WIn7 machine and VM would be on the same subnet. YOu could also add another Virtual adapter and have one NAT and one host only. Additionally permissions are a b***h with WIn 7 I found you had to not only share out the share to someone but also make NTFS permission changes allowing that person to access the share and this was on a 2003 Active directory domain. What credentials are you using to access the Win7 machine data? Use a Win 7 local account too would make your life easier. Just some thoughts feel free to ask some questions back.
eth0 registeres as PCnet/PCI II 79C970A
udev: renamed network interface eth0 to eth1
eth1 link up
eht1 no IVP-6, router present
My home network is "workgroup" not the windows 7 homegroup because I also have XP and Vista machines and media players .
I am trying to connect by clicking on Places, then Network and clicking on the windows network icon. the response is : "Unable to mount location ; failed to retrieve share from server"
It looks like my NIC is eth1 .
Will changing the eth0 mac value to match the HWaddr for eth1 work?
You don't need to worry about what your eth adapter is named if it works don't bother trying to fix it. I think your problem is a permissions, what username/password are you using to connect? And you didn't mention if the ip address in the VM is from the same subnet as the host.
You don't need to worry about what your eth adapter is named if it works don't bother trying to fix it. I think your problem is a permissions, what username/password are you using to connect? And you didn't mention if the ip address in the VM is from the same subnet as the host.
user name and p/w was not asked when I clicked on the windows network icon.
Here is what i found when I did the ipconfig/all on the host machine:
There is a difference when I went to check network adapter properties in windows using the GUI. It shows that the ipv4 for vmnet8 as 192.168.56.1 not the same as when I used ipconfig/all
Should I change DHCP to yes on both virtual adapters?
No don't mess with those. The reason your VM has a different subnet os because you chose to NAT the connection, it will not be the same as any subnet any adapter on your host has because it is NAT. NAT means Network Address Translation. This means that you may have one IP say 12.12.12.1 as a WAN or WAN side IP address on a router and then all your machines behind the router are running 192.168.5.x addresses what happens with NAT is that your PC makes a request for some information, it send it to the router which wraps up the request in an envelope that has the WAN address on it. When it gets returned to the router it opens up the response then finds out what computer requested it and sends it back to the requesting computer. Kind of like an apt building you may have 20 tenants they all live at 120 Seymour St. but there is apt a, b, c etc.... VMWare runs a software router that does NAT for VMs. I recommend again changing the the VMware adapter in the VM settings (while the VM is off) to Bridged. Then also check to make sure you have smb installed and check your configuration settings to see if it is passing a default username and password, it should be asking for one when you try to connect unless you saved it somewhere. Also make sure your samba settings are placing the linux machine in the same workgroup as the Windows machine. If that all fails try a basic command line connection to the share on your machine using smbclient.
No don't mess with those. The reason your VM has a different subnet os because you chose to NAT the connection, it will not be the same as any subnet any adapter on your host has because it is NAT. NAT means Network Address Translation. This means that you may have one IP say 12.12.12.1 as a WAN or WAN side IP address on a router and then all your machines behind the router are running 192.168.5.x addresses what happens with NAT is that your PC makes a request for some information, it send it to the router which wraps up the request in an envelope that has the WAN address on it. When it gets returned to the router it opens up the response then finds out what computer requested it and sends it back to the requesting computer. Kind of like an apt building you may have 20 tenants they all live at 120 Seymour St. but there is apt a, b, c etc.... VMWare runs a software router that does NAT for VMs. I recommend again changing the the VMware adapter in the VM settings (while the VM is off) to Bridged. Then also check to make sure you have smb installed and check your configuration settings to see if it is passing a default username and password, it should be asking for one when you try to connect unless you saved it somewhere. Also make sure your samba settings are placing the linux machine in the same workgroup as the Windows machine. If that all fails try a basic command line connection to the share on your machine using smbclient.
I am finally able to connect to my network computers by a) changing the VM adapter to bridged b) I have to connect by using the respective computer's IP using SMB.
Places>connect to server>windows shares> then enter ip , username , pw
Is there a way where instead of connecting individually , I could go to network, then windows network and have all the computers show up?
I have a new question: When I select bridge in VMware, there is a secondary check box something about mimicking the adapters physical connections . I left that unchecked for now. Do I need it checked?
I am not familiar with that checkbox option but it sounds to me like you don't want to click it. As far as browsing computers goes, do you have samba installed, if not try installing samba, it should also instlal the components needed to browse the other comptuers. What Window manager are you using by chance, GNOME?
Samba might not be installed, GNOME has an smb client, I am thinking that either netbios is not working, not enable, you don't have samba installed so it's not doing netbios. You can also use DNS if you have a DNS server running on your network that dynamically changes the addresses as DHCP hands them out though I am guessing you do not. Samba/yoursmb client may not be configured properly I don't know, did it ask for username password whrn you logged on via IP address?
Replicate physical network conenction state sounds to me, though I don't know for sure, as I for the last couple of years have used VirtualBox for my host based Vitualization, like it it tied to the state of the physical adapter as in if no cable is plugged in or if the adapter is disabled the same state will be reflected in the Virtual machine NIC.
Well if a username and password were requested it is not configured, because that would have not been asked. As far as checking samba was installed check your package manager probably synaptic in GNOME. so a search fro samba.
When I checked the etc/samba folder I only have 2 files: host and config. The config file is quite well commented.
When I do a search for samba nothing is shown. Looks like I need to install it . Searching for it using add/remove software returned so many items i don't know which to select.
I did a search re network adapter being eth1 instead of eth0. One person suggested editing the /etc/iftab file to change the eth0 mac value to match the HWaddr address for eth1 .
Does this make sense ?
New info: In Fedora the file is ifcfg-eth0
Last edited by sportflyer; 04-08-2010 at 12:12 AM.
Reason: added new info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.