Ubuntu Networking :: 10.04 Can't Connect To Internet After Setting Static IP For Samba
May 17, 2010
I recently used this process to connect my Samba network to be able to access and allow Windows XP machines to access my computer on my office network.
For various reasons, all the XP computers on the network are set to fixed (do we say static?) IP addresses with manual DNS. Hence I realised during the Samba setup that I had to set a static IP on my Ubuntu machine similar to my Windows static IP's (ie 192.168.10.?) in order to be able to see the Windows share PC's properly.
Once I set my Ubuntu machine to static IP of 192.168.10.3 with subnet of 255.255.255.0 and gateway of 192.168.0.1 then I was able to access and be accessed by PC's on the network. However I couldn't access the internet after this. I input the DNS server in the edit connections as you can see per the attachment. All these settings (except the IP address obviously) were all now exactly the same as the PC machines, and I thought I'd now be able to access the windows network, as well as have access to the internet, however, even though my wired network is connected there is still no internet access.
I'm using the GUI under network connections to make all these changes if that is important. I can't understand why this doesn't work?
View 6 Replies
ADVERTISEMENT
Jan 12, 2011
I set up a static IP address yesterday, following the instructions at the top of this page and since my machine no longer connects to the internet (although all other machines are connecting fine, so I know it's a result of this change).
View 6 Replies
View Related
Oct 15, 2010
currently running ubuntu 9.10, the internet connection im hooking up to is a router from a friends personal dish internet (were all deployed to Afghanistan). Here is all the static information that i need to input.now i have all this information input in windows 7 and it works fine since its all broken out exactly how it was given to me in the ipv4 settings page. wicd in ubuntu however wont use these settings.
View 2 Replies
View Related
Feb 13, 2010
how to set up a static IP from Ubuntu... Secondly, on some of the tutorials I read, there was something about changing the DNS server IP adresses. I do know what a DNS server is (Courtesy of www.howstuffworks.com ) but I don't understand why the DNS servers must be changed simply because I chose to use a static IP address.. (My PC connects to the internet via a router.. )
View 7 Replies
View Related
Aug 11, 2010
I've been reading for days now, but can't find an example to the following. I have an ubuntu server, with two KVM virtual machines running ubuntu jeos. I want each VM to have it's own static IP, plus one IP for the server. How on earth I do that? do I need to create two bridges, one for each machine? and if so, how do I assign static IP to each?
View 2 Replies
View Related
Feb 16, 2011
I have a linux system which is conencted to a corporate lan and it has internet access to it. But i don think that machine hs any static ip or DNS name. I am able to ssh to that machine within the lan but is it possible to ssh to that machine outside the lan using internet?
View 3 Replies
View Related
Oct 19, 2010
I have an old pc that I would like to use as a headless server for my music, files, etc that I can access at work and other places outside of my network. I'm a complete noob in this department so please excuse my overwhelming ignorance. The only thing I've managed to succeed at was installing fedora 13. Two things in particular are giving me trouble: 1.)setting up my router and fedora box so that it has a static ip address and 2.)connecting to the fedora box via vncviewer on my laptop.
HERE ARE SOME QUICK SPECS THE DEVICES INVOVLED:
Fedora Box: Intel Pentium 4 2.66GHz, 1GB ram, Fedora 13
Laptop: Toshiba Satellite A505, Intel Core 2 Duo T6600 2.20GHz, 4GB ram, Windows 7 Home Premium 64-bit
Router: D-Link WBR-1310
ISP: Comcast (cable)
HERE'S WHAT I'VE DONE SO FAR:
Setting Static IP
On the fedora 13 box:
1.)Went to Network Connections and added a new connection
2.)Copied mac address from the default connection
3.)On IPv4 tab, added new address: 192.168.0.200 (this is out of the range which my router will assign automatically) netmask 255.255.255.0, set gateway to 198.168.0.1(router's ip on the network)
When I connect to this new connection web pages don't load, etc. but when I'm on the default connection I have no problems.
Connecting With Vnc Viewer
On the fedora 13 box:
1.)System -> Preferences -> Remote Desktop
2.)Under Sharing I checked "Allow other users to view your desktop" and "Allow other users to control your desktop"
3.)Under Security I unchecked "Ask you for confirmation", checked "Require the user to enter this password", and specified a password
On the router
1.)Set up port forwarding for port 5900, TCP only, to the ip address of the fedora box.
On the laptop
1.)Installed VNCViewer
2.)Went to whatsmyip(dot)org to get ip address of router
3.)Tried to connect to that address, port 5900 (ex. ##.##.##.###::5900)
4.)Connection times out everytime.
View 5 Replies
View Related
Jan 2, 2011
My DHCP setting is disabled in fedora 12 . Previously i was using static IP address. I Want DHCP setting enable, any idea.
View 1 Replies
View Related
Aug 30, 2010
I seem to remember I could just use DHCP given addresses when sharing from Windows to Windows, and they'd keep sharing even when the IPs changed.
View 9 Replies
View Related
Jan 11, 2010
I'm having an issue with a new install of 9.10. I've set the ip address in /etc/network/interfaces and I've also set DNS servers in /etc/resolv.conf.
The issue I am having is that no address resolves, nor can I ping outside of my LAN. I've wanted to avoid using the GUI network setup because it hasn't been saving the information correctly. Here are how the files look code...
I don't know what eth1 is; I only have 1 ethernet connection in that machine, so I'm thinking it may have something to do with that. However if the machine is using eth1 (which has no address) than it follows that I shouldn't be able to locally ssh or vnc into it, right?
View 2 Replies
View Related
May 25, 2011
I'm trying to set up a wireless AP with Internet sharing. I currently have the AP setup with hostapd and a dhcp server. The clients can connect but there is not Internet sharing. Now my situation is somewhat uniqe in that my internet connection is my teathered android cell phone. The tether app is azilink and i use openvpn to create a virtual networking interface(tun0).
View 4 Replies
View Related
Jun 4, 2010
my computer with ubuntu 9.10 is in a LAN. We use static ip and do not have dhcp. I can go up to our server and browse our website but cannot access internet. my ifconfig, iwconfig, lspci are as follows...
[Code]....
View 3 Replies
View Related
Jul 23, 2010
I am currently facing a weird problem, It's that the internet connection becomes extremely slow when using static IP instead of DHCP when Im connected through a cable! The local network seems okay with both, but differs when using the internet!
I've ran a ping test and got the following results!
using static IP
Code:
$ ping -c 3 google.com
PING google.com (209.85.153.104) 56(84) bytes of data.
64 bytes from 209.85.153.104: icmp_seq=1 ttl=42 time=343 ms
[Code].....
When I used static IP i received only one packet while when using DHCP i received all three!! Also I lost 66% of the packets when using the Static IP connection! And most importantly, the speed, DHCP connection was 8 times faster than Static IP connection!
View 3 Replies
View Related
Oct 16, 2010
I don't know where to put this, or even what I'm looking for.
I've tried for 6 hours today to get my WPA2 wireless to work as a static IP on my laptop to no avail.
Basically I put things in correctly (at least according to that thread) but I get no interent. When I restart I get the correct IP address but no internet pages will load.
The network monitor I have on my panel shows that it is trying to send and receive information, but I can not get my pages to load.
I'm desperately in need of help, but I really don't know how to even ask for it correctly.
But to start here is my interfaces file (one config of about 15 I've tried).
Code:
auto wlan0
iface wlan0 inet static
address 10.42.32.113
netmask 255.255.255.0
[Code].....
My router is a linksys WRT54GS. My wireless is set up as WPA2-Personal with the "algorithm" as TKIP+AES.
Its like it wants to connect and gives me an IP. But I just don't get any real web data.
I've restarted and tried restarting just the network.
View 5 Replies
View Related
May 19, 2009
I am running 2.6.27.21:170.256.fc10.i686 on my laptop.
I am trying to connect to a network at a university in China right now and I cannot figure out how to connect.
IP: 192.168.213.179
subnet mask: 255.255.255.0
default gateway: 192.168.213.1
DNS: 202.202.96.33
DNS: 61.128.128.74
View 5 Replies
View Related
Aug 24, 2010
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
View 4 Replies
View Related
Feb 17, 2009
I am a windows user with no linux experience prior to Friday. Im setting up a music server (SqueezeCenter) running Fedora 10.
With the help of posts of this site Ive made good progress with complicated stuffnamely getting Samba and VNC working. My Fedora machine and my windows machines now see each others shared files, and I can control my Fedora machine from my windows machine. (The Fedora machine will ultimately be headless.)
But Im having trouble with a seemingly simple issue setting up my Fedora box with a static IP address. With DHCP enabled on my network Ethernet adapter, all works fine. I then used the System>Administration>Network menu to disable DHCP and to assign the same IP address that DHCP chose. When I do this, two cases need to be distinguished:
1. If I keep the box checked for Controlled by Network Manager, the Network Manager Applet reports a network connection, I nevertheless cannot access the internet, but my Fedora machine is able to communicate with my Squeezebox music player (connected to my network via my DSL modem Ethernet connections, and with a fixed IP address). 2. If I uncheck the box Controlled by Network Manger, then the Network Manager Applet reports no network connection and my Fedora machine is not able to communicate with my Squeezebox music player (and I of course have no internet connectivity).
Ive seen references on other posts suggesting that the Network Manager service be disabled. But I see no way to manually configure the network.
View 4 Replies
View Related
May 28, 2009
I can access internet when my eth0 is set toDHCP client. But when I set static I can ping goole.com... but my Firefox browser doesn't connect to Interent!
View 2 Replies
View Related
May 31, 2010
I have a server at home running as a file server and DHCP connected to a switch with a wireless AP in there as-well. with this setup I can access the files and do some configurations via SSH on the actual server anytime I'm able to get the wireless signal, now lately I felt the need to be able to do the same but this time over the internet. I've read somewhere already that I'm gonna need a router with port forwarding and NAT, then know the IP address of the server but my problem is once you start talking about routers then you need broadband connection which is something I don't have. Getting a router is not much of a problem but without ADSL like connection I guess its useless, what do I need to do?
View 7 Replies
View Related
Feb 12, 2011
I recently installed ubuntu on one of my computers and am trying to get all my sharing worked out so I can access stuff with my windows machine. I'm still very stupid when it comes to linux.
Setting up sharing with Samba, I got my /home/user/media folder to share just fine. However I made a folder located on my second drive that I would like to share.
I have this entry for it in my smb.conf
Code:
[80GBshare]
comment = /media/Sifl_80GB/Shared/ folder share
path = /media/Sifl_80GB/Shared
[Code].....
the second drive is mounted on /media/Sifl_80GB and it was formatted as ext4.
My windows machines see the 80GBshare entry but I get the error "network path not found" when I try to open the folder. Does this mount need to be listed in my fstab for this to work correctly? I'm noticing something in the comments of the smb.conf for auto-mounting a cdrom drive when a cdrom drive is accessed by adding a fstab entry, so I'm wondering if this needs to be done with my second drive?
View 4 Replies
View Related
Jul 29, 2011
I have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
My gateway is 192.168.1.1 and my static IP is 192.168.0.2.
View 3 Replies
View Related
Aug 18, 2010
I set up a dhcp server in the lan and assigned static ips to two computers, computer A and B, according to their mac address. Everything was running fine. But when I turned off computer A, connected computer C to the network, and assigned computer A's static ip to computer C without changing dhcp setting. Computer C was able to access the internet. When I turned on computer A, dhcp couldn't assign an ip address to it, and computer C showed an error message of ip conflict and failed to use internet. I wonder if dhcp server is able to prevent other computer from using the same static ip that is already assigned to a computer according to its mac address.
View 5 Replies
View Related
Nov 4, 2010
i'm trying to set up samba so that i can connect to the printer in the den since we have wireless access. also, i can see my virtual box on the windows xp home ed desktop, but can't access it.so, how do i go about setting up samba so stuff is visible between my ubuntu machine and my families windows orientated network? i'm having a hard time finding anything on videos too. i'm taking a break from the remastersys stuff so i can get the more important things done, such as connecting my ubuntu machine to my families windows network. i don't know if the printer is wireless or not, but regardless, i can't find it.
View 9 Replies
View Related
Nov 16, 2010
First let me say that Lubuntu is a lightweight version of Ubuntu, so there is not much point in loading it up with unnecessary packages. If you just want to share printers on a Linux network, you don't need Samba. And if you just want a way that users can "push" files to others on a network, use Giver (+ Avahi) as this is a better option. Especially as it sorts out file permissions for you.
To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
* samba
* system-config-samba
* gvfs-bin
* gvfs-backends
...accepting any dependancies, 11 packages in total.
I suggest you re-boot now. As an initial test, go to file manager (pcmanfm) and enter:-
smb://localhost
You should see the local print$ folder listed.
To access folder shares remotely
* open file manager (pcmanfm)
* enter the IP address or computer name of the machine you wish to access
e.g. smb://192.168.0.99 or smb://print-server
To share a folder:-
Go to: Preferences > Samba (enter password when requested)
In the Samba Configuration screen:-
* File > Add Share
* use Browse... to select folder to be shared
* Tick "Visible" and (if required} "Writable"
* In the "Access" select "Allow access to everyone"
Set the Linux permissions:-
* locate the folder to share in file manager
* right click on the folder and select Properties > Permissions
* set the required permissions, e.g. Other: Read & Write (to allow anyone full access)
View 7 Replies
View Related
Nov 27, 2010
I'm trying to set up an old computer that was donated to my by an aunt to hold my external hard drives and use it as a file server so i can use them from anywhere within my house. However I can not seem to get the samba server to broadcast/be seen by my ubuntu installation, nor my windows installation.
I've read the manual, to an extent, but I feel as if I am missing something. All I want is to have it to where I can just type in \server and bring up my files to access without having to worry about passwords.
Here is the config file:
Code:
[global]
workgroup = WORKGROUP
netbios name = GrenadingBadger
security = share
[Code]....
View 5 Replies
View Related
Jun 28, 2011
I am experiencing strange difficulties with Samba. The permissions aren't set correctly, when creating a file or a folder on the mounted samba share.
My smb.conf looks as follows:
Code:
[shareOffice]
path = /home/shareOffice
writable = yes
browseable = yes
create mode = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
Now if I create a regular file on the folder:
Code:
touch testFile; ls -l
The permissions turn out to be:
Code:
-rwxr-xrwx 1 simon share 0 2011-06-28 21:42 testFile
Why the w bit on the group is missing? If I play around with the create mode / force create mode, I get every other possible permission output --- except the write access for group members.
View 3 Replies
View Related
Oct 25, 2010
I am currently attempting to setup Samba 3 (installed) for a basic home-network file-sharing server via Ubuntu 10.04. It seems like (based on my extensive googling and research) nobody wants or has a configuration like I do, but surely SOMEBODY knows how to do this.
The following is my goal for a basic setup.
Folder 1 (share is called "Read-Write"):
-Users from Windows 7 can see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
-Users can accomplish all of this from as "guest."
Folder 2 (share is called "Read-Only"):
-I can log in as my user to see, read, write, execute, create, or delete any files and folders in Folder 2 as I so desire.
-People other than me can log in as "guest."
-"Guest" users from Windows 7 can see, read, and execute programs as desired.
Things I have accomplished:
-Directories exist
-Directories are browseable via Windows 7
-My user has a password for Samba (assigned via "sudo smbpasswd -a matthew)
Things I have not yet been able to accomplish:
-Configure Folder 2 so that Samba asks for login credentials when someone tries to access it SO THAT I an use my Samba user to log in.
-Configure Folder 2 so that, when I log in as my Samba user, I can see, read, write, execute, create, or delete any files and folders in Folder 1 as I so desire.
-Configure Folder 2 so that Windows 7 users can easily access it as guest to browse, read, and execute files and folders in it.
-Configure Folder 1 so that any Windows 7 user can easily access it as guest to see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
View 3 Replies
View Related
Feb 1, 2010
On this box I have Two seperate Ubuntu installations. Recently in both I seem to be having the same problem. I initially can connect to the internet as per normal and use any internet application. But after a period of time, sometimes just minutes, sometimes hours, even though the icon says connected, I cant update pages or send emails etc because there is no actual connection. My Physical connection is good I know - My Ubuntu laptop and Windows gamming PC connect fine during this period. So
Does this suggest an intermittent hardware fault or is there some thing in Ubuntu I can check to make sure that it is setup correctly and nothing has been corrupted? I am a lay PC person - I dont really want to be command prompting - Plug & Play and Point & Click is my limit.
View 2 Replies
View Related
Oct 21, 2010
I tried to install Xubuntu 10.10 Maverick as dual boot on my laptop. However when xubuntu is on, I can't find a way to connect to internet. When I try the 2 arrows on the up-right corner the option for wireless is deemed. I tried offline/online, that did not work either. when I click the firefox It says you are not connected.
View 1 Replies
View Related
Apr 6, 2011
I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
[Code]....
View 5 Replies
View Related