Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can't connect to my ubuntu server anymore

11 Oct 2013   #11
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

on ubuntu (as root):
Code:
hostname  -f
hostname  -a
post output


My System SpecsSystem Spec
.
11 Oct 2013   #12
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Also
Code:
 
cat  /etc/network/interfaces
cat  /etc/resolv.conf
My System SpecsSystem Spec
11 Oct 2013   #13
bavman

w7ux64
 
 

This is the ethernet info from the my pc:
Code:
Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8168D/8111D Family PCI-E Gigab
it Ethernet NIC (NDIS 6.20)
   Physical Address. . . . . . . . . : -----
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::1842:1a3c:252c:3d54%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, October 11, 2013 11:38:52 AM
   Lease Expires . . . . . . . . . . : Saturday, October 12, 2013 11:38:52 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 239622969
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-40-7E-DD-48-5B-39-36-1B-A8

   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
hostname -f returns my server's name, hostname -a doesn't return anything.

cat /etc/network/inferfaces gets:
Code:
auto lo
iface lo inet loopback
the resolv.conf files says "nameserver 127.0.0.1


My server doesn't really do anything besides host files, it does no routing functions or actual server processes.
My System SpecsSystem Spec
.

11 Oct 2013   #14
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

So linux has to have dns 192.168.1.1 as well!
Can linux ping 74.125.136.94?
can linux ping www.google.nl
?
My System SpecsSystem Spec
11 Oct 2013   #15
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by bavman View Post
This is the ethernet info from the my pc:
Code:
Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8168D/8111D Family PCI-E Gigab
it Ethernet NIC (NDIS 6.20)
   Physical Address. . . . . . . . . : -----
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::1842:1a3c:252c:3d54%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, October 11, 2013 11:38:52 AM
   Lease Expires . . . . . . . . . . : Saturday, October 12, 2013 11:38:52 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 239622969
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-40-7E-DD-48-5B-39-36-1B-A8
 
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
hostname -f returns my server's name, hostname -a doesn't return anything.

cat /etc/network/inferfaces gets:
Code:
auto lo
iface lo inet loopback
the resolv.conf files says "nameserver 127.0.0.1


My server doesn't really do anything besides host files, it does no routing functions or actual server processes.
Is that really all there is in /etc/network/inferfaces?
My System SpecsSystem Spec
11 Oct 2013   #16
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Add these lines to /etc/network/inferfaces and reboot. After reboot post resolv.conf

Code:
 
auto eth0
iface eth0 inet dhcp
My System SpecsSystem Spec
11 Oct 2013   #17
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

resolv.conf should have only this:

nameserver 192.168.1.1
My System SpecsSystem Spec
Reply

 Can't connect to my ubuntu server anymore




Thread Tools




Similar help and support threads
Thread Forum
Suddenly can't connect to the router anymore
Hi, My wireless isn't working. Everything was fine until one day when I was in the middle of uploading something. Then it stopped working, and now it refuses to authenticate. Nothing happened to my computer or the router then. I'm using a TP-Link TL-WN822N USB adapter. Under Control Panel ->...
Network & Sharing
Virtual Box ubuntu xamp server
Greetings, I have win 7 ultimate as host with wamp server on it. Also virtualbox with ubuntu as guest. I would like to download and install Xamp server on guest which is ubuntu. Shall it be done the same way as I installed wamp on host? Do I have to consider a new port for Xamp? And if there...
Virtualization
Wanted to Dual Boot Win7 and Ubuntu - Windows Won't Boot Anymore
I wanted to set up Ubuntu on my computer, and followed the instructions in the first answer to this thread: dual boot - How to install Ubuntu alongside Windows 7/8 - Ask Ubuntu As instructed, I created a logical partition using EaseUS software. I did this on my H:/ drive, a hard disk drive...
Installation & Setup
Bluetooth mouse won't connect anymore
I love my Dell Inspiron 1545 laptop, but there's one niggling problem I keep having: I can't get it to recognise my bluetooth mouse consistently. It was working at one point, then one reboot too many and it just wouldn't work anymore. My laptop has the built-in Dell Wireless 365 bluetooth...
Hardware & Devices
XP machine won't connect to 7 machines anymore
I have an XP machine that has been on my network with my two 7 machines for a while, but now it isn't playing nice anymore. It gets a DHCP address fine and can connect to the internet, but it cannot see the 7 machines and they can't see it. The XP machine can ping the 7 machine by name, but not...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App