Slackware :: Static IP - Ping The Router But Not The Internet
Jan 10, 2011
I am trying to get a Slackware server up and running. I got a static IP working kinda. The computer gets a response when I ping the router but not the internet. Basically it can communicate with other computers on the network but nothing outside of the network. Its not a problem with the router because I have a couple other computer with static IPs. Also the network card works fine as it can get on the internet fine normally.
[Code]....
View 9 Replies
ADVERTISEMENT
Dec 9, 2010
Fresh install of 10.04.1 server; installs seamlessly; finds network no problem.
However, establishing static connection is driving me batty. Will not take. I've reconfigured "interfaces" file several times. My fingers are numb ifdown-ing and ifup-ing and /etc/init.d/network restart-ing.
I have two files in /etc/network ... interfaces and interfaces~ (one static and the other dhcp). I can switch them in and out of play. The dhcp works and pings out like a champ. static is dead, just dead. Cannot ping router ... nothing.
View 5 Replies
View Related
Jul 6, 2010
My ISP provides my internet via DHCP. I have a home wireless router to provide internet access, wired for my desktop machine and wireless for my laptop. My question is: Is it possible to configure the router (the Access Point) to provide internet to the desktop and the laptop via static IP? Currently I have managed to configure the internet to them via DHCP and it works. I am just curious to know whether it is possible to provide the internet for them by static IPs, given that the internet that actually goes into the Access Point (the wireless home router), is DHCP.I fiddled with this a lot yesterday, but I only managed to get a working configuraton by DHCP for both the desktop and the laptop. If I supply them with static IPs, I can only ping the Access Point, but not beyond it. So does it at all make any sense to try to configure them by static IPs, i.e. is that virtually possible?
View 10 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
Jun 7, 2010
when I was still at my university room where the connection would work after a few reboots. After moving back home the connection worked on and off for a day before not working at all. NetworkManager is telling me that I am connected and have an ip address, etc, but nothing is able to get an internet connection. I am able to ping myself but am not able to ping my router. Everything works fine on M$ and other PC's on the network, it's just my ubuntu 10.04 that is playing up.
View 9 Replies
View Related
Mar 1, 2011
This morning my Ubuntu 10.10 Meerkat desktop suddenly lost internet connection, but stayed connected to my netgear router. After the usual "tried turning it off and on again" methods didn't work, I booted into my Win Vista partition to find that connected no problem. I have another Ubuntu netbook and a Windows 7 laptop in the house as well as an Android. These all connect fine. It appears to be just the desktop Ubuntu.
I can ping my router 192.168.0.1 and log into it's UI via browser. I can also ssh to the box. My router does not do any filtering or blocking. I've tried disabling the firewall and changing the nameservers in /etc/network/interfaces and dhclient.conf as well as the network manager. The network card is a Belkin 54g but I can't remember the exact model no. it was bought years ago.
Code:
$ping www.google.com
PING www.l.google.com (74.125.230.115) 56(84) bytes of data.
^C
--- www.l.google.com ping statistics ---
30 packets transmitted, 0 received, 100% packet loss, time 29004ms
Code:
$traceroute 74.125.45.100
traceroute to 74.125.45.100 (74.125.45.100), 30 hops max, 60 byte packets
1 * * *
...continues to...
30 * * *
When I do a restart of the networking service it spits out the error:
Code:
Ignoring unknown interface wlan0=wlan0
However, as I said the wireless itself works.
/etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
iwconfig:
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"haters gonna hate" .....
View 1 Replies
View Related
Mar 4, 2010
I am using centos box as a router. WAN side has a public ip and lan side also using a public ip. I configured dhcp server on the LAN side and it is working perfectly, pcs on the LAN side can able to access the internet.
Problem: Considering the fact that LAN IPs is using Public IP and it is presumed that from the internet it can be able to ping IPs inside the LAN but, alas, it couldn't.
No firewall has been config!
Question: What config should be done on the box so that IPs inside the LAN can be ping from the internet?
View 9 Replies
View Related
Sep 14, 2010
So I installed 10.4 on a new Toshiba Satellite L645DWhen I connect to my wireless at home, the Network Manager shows that I am connected but I can't reach any websites via ping or firefox. I also can't ping my router. I also don't have wired access working at all.iwconfig shows connected to correct ESSIDI can ping localhostcan't ping google:
Code:
ping: unknown host www.google.com
can't ping my router (192.168.2.1):
[code]....
View 8 Replies
View Related
Jan 31, 2010
I've only been using linux for a few days so I don't know all the tricks. I'm pretty savy configuring windows networks however.My adapter is (according to windows) a: CNet PRO200WL PCI fast ethernet adapterLinux says it is a: 21x4x DEC-tulip compatible 10/100 EthernetI do seem to be getting an ip address from the DHCP router, but I cannout ping any other ips or connect to the internet.I've tried a bunch of different options, switching things back and forth, but it still doesn't work, and honestly i don't even know what some of the options mean.
ALSO, if this helps:
paladin:~ # ifconfig eth0
Eth0 Link encap:Ethernet HWaddr 00:08:A1:03:3C:99
[code]....
View 14 Replies
View Related
Dec 5, 2010
I have currently installed Slackware 13.1 64bit version on a laptop Acer computer. This computer is connected to my cable service (comcast) modem via a dlink router. This computer has linux and Windows 7 dual boot systems installed. Initially I was able to connect to the internet with either linux or Windows. Now I cannot get on the internet with linux, but I can with windows.
I cannot even ping the address of my internet provider,which I can obtain through windows 7 by running the program ipconfig. When I ping the address, in linux,it gives me the message that "network is unreachable".I can ping it in windows 7.If I run on linux the program ifconfig, it does not even show an ethernet, like it does on my other computer connected to this network.I set the thing up initially with netconfig and used DHCP.As I said, initially it worked.I did not use this computer for some time, and now it has the previously described problems.Where should I start, trying to run this down?I have already done everything I can think of,like powered things off, and reset the cable modem etc.
View 15 Replies
View Related
May 26, 2010
I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.
View 2 Replies
View Related
May 16, 2011
I just installed and configured Slackware on an old computer I am using as a router.
The internet works fine on the slackware box (router) but all of the computers behind it are having issues. When browsing, some websites work perfectly fine, while others are slow to load, and a few don't load at all. I'm not really sure where to start on diagnosing this, so any help would be appreciated.
Also whenever I restart the computer, I have to use this command before the DHCP server will start. What do I have to do to get it to start up with the computer?
Code:
View 2 Replies
View Related
Feb 21, 2011
I am running Slackware -current. Every thing was working fine and suddenly it stopped. I am unable to connect to the router or the internet. Which is a problem since I'm using it right as a server.
[Code]....
View 14 Replies
View Related
Jun 9, 2010
I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.
I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.
So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?
Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.
We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.
View 1 Replies
View Related
Jul 26, 2011
I am using centOS 5.0. After I change from DHCP to static IP address, I cannot ping hosts on the same subnet. The error message says destination host unreachable. Before I made the changes I was able to ping and now even I change it back to DHCP I still cannot ping with the same destination host unreachable message. The centOS is running on VMware on a Windows host.
ifconfig shows
eth0 Link encap:Ethernet HWaddr 00:0C29:A1:9A:10
inet addr: 192.168.0.202 Bcast:192.168.0.255 Mask: 255.255.255.0
inet6 addr ......
After pinging 192.168.0.106 (106 is on and other host can ping it), arp -a shows ? (192.168.0.106) at <incomplete> on eth0 I tried different ways by disabling the firewall and and disabling SE protection. No Luck.
View 13 Replies
View Related
Sep 23, 2010
If not should I just plug up directly into my modem?
View 2 Replies
View Related
Dec 1, 2010
I am trying to set up SSH so that I can edit files on a home server (linux). I know this question has been asked many times before, but none of the answers seem to apply to me.
Here's my setup. I have the modem connected to a switch (wired) that connects 2 PCs to the internet (one desktop, one server, both wired).
All of the threads I see that discuss static IPs seem to require that I set up a router. Is this necessary? Can I still transfer files through a switch?
View 9 Replies
View Related
Jun 30, 2011
Connected freshly installed 10.04.2 to a wireless network through a router. Everything looks correct -- IP is assigned, connection is on, the system shows up on the router -- except that there is no internet connection and I can't ping the router or anywhere else. According to the router, the wireless signal at the ubuntu system is stronger than at the sitting-right-next-to-it windows system with *working* internet. what is this? Should I replace current driver?
[Code]..
View 8 Replies
View Related
May 8, 2011
I have two network interface eth0 and eth1 eth0 is on 192.168.0/24 network connected to the internet eth1 is on 10.10.10/24 network and DHCP for this network the clients connected to this interface can not connect to the internet but they can ping 192.168.0.4 which is the eth0 ip but can not ping 192.168.0.1 cisco router or anything else on 192.168.0/24 I have tried few tricks but still not working
1) iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o eth0 j SNAT --to 192.168.0.4/24 it did not work
2) iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.0.4 did not work as well
View 2 Replies
View Related
Oct 2, 2009
just finished installing Centos5 and I had no problems installing it. But when I tried to connect to the internet, the trouble began.My network card is installed and the status is "OK". The network card is a "Realtek RTL 8168C(P)/8111C(P)".The status of the device said "Inactive" and when I tried to activate it, it came with an error: Failed; no link present. Check Cable?Now the cable is connected as it should be.So next step I did is put in a static IP. Now the activation works fine.However I still have no internet. I can't even ping to my router!I need some new drivers for my graphics card too, but first I need the network to work, than I can download other stuff..
View 6 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
Jul 6, 2010
I'm running Ubuntu 10.04 and my setup is as follows:
As you can see, I am directly connected to router 192.168.25.1, and so my ip address is 192.168.25.101. I want my ip address to be 192.168.13.101, and make router 192.168.13.1 my gateway router. Is this possible under the current physical layout (I do not want to have to connect directly into 192.168.13.1, but keep my computer where it is at)?
When I run tracepath, it shows 192.168.13.1 is one hop away.
What I've tried:
The problem is under this manual setup, I cannot ping 192.168.13.1 and running command netstat -rn returns the following:
View 2 Replies
View Related
Feb 1, 2010
The NetworkManager applet on my desktop states that my router is 192.168.2.1 and that my first DNS server is 192.168.2.1, but I cannot ping any hosts on my network using by name. All my other computers are windows so the naming is netbios naming, but I don't know if that makes any difference to DNS. I take it that because the other computers are windows that I need a wins client or something on my Fedora laptop. I would rather not fill out my hosts file because the IP addresses of the windows boxes may change.
View 2 Replies
View Related
Jun 9, 2010
i have Fedora 13 dual booting with Win XP and i cannot ping my router in Fedora. just reinstalled and i'm still unable to ping my router.everything looks like it was installed correctly except in the ifcfg-eth0 it has IPV4_FAILURE_FATAL=yes dont think this should have a value of yes.
View 13 Replies
View Related
Feb 3, 2010
I am a new user of Ubuntu...I am trying to use if for a University project. I have installed Ubuntu under a nice new partition and install was smooth. I am using my Belkin F5D8055 v1 USB adapter to connect to my router. The router registers that the IP 192.168.0.3 has connected (thats the IP assigned to the adapter) however even when trying to ping the router (192.168.0.1), I get no response.
View 7 Replies
View Related
May 20, 2010
Every three or four weeks my router and cable modem will appear to go down. Not only can I not access the internet or web, but I can't even access the router and modem's admin pages (192.168.2.1 and 192.168.100.1 respectively). However, I can successfully ping 192.168.2.1 (forgot to try pinging the modem ip).
Hard resetting both by unplugging them for about a minute or so and replugging them fixes the problem. This is what Roadrunner says to do any time connectivity is lost. This problem also used to occur on Windows as well, except that on Windows I could still browse to both the router and modem's admin websites and restart them remotely. On Ubuntu (both 9.10 and 10.04) I have to manually unplug them since I can't bring up the admin sites in a browser.
I'm not sure how to go about troubleshooting this issue, and why Linux seems to require a manual hard reset whereas it could be solved on Windows with a remote restart. I wouldn't have thought the OS would even have anything to do with that.
View 1 Replies
View Related
Nov 23, 2010
I tried to get Ubuntu 10.10 up and running last night, almost worked, but wireless card isn't working. I have another machine in the house running ubuntu 10.4 and it works fine. I have searched around a bit in the forums and can't find anything, so I thought I would make my own post. The wireless card is an Intel PRO/Wireless 2200BG, which I think is part of core (i think i read that somewhere).
I think the problem might have something to do with the ip address (currently 192.168.0.100), i remember having issues in the past with that, but I could be wrong. when I run iwconfig i get
[Code]....
View 3 Replies
View Related
Jan 2, 2011
I'm setting up a home network and trying to set up a Ubuntu Server (10.04) as a samba file server and a web server.I installed Ubuntu 10.04 Server and the automatic network configuration during installation failed. I've looked into host.conf, networks, interfaces, hosts and resolv.conf and either my settings are wrong or it's something else. I have a Win7 computer connected to same router and DSL modem and it works fine (edit: most of the time--- see below).
More information:
*ifconfig shows eth0 is broadcasting but without an IP address
*route shows an empty routing table
Code:
sudo route add default gw 192.168.1.254 doesn't work:
SIOCADDRT: No such process
[code]
sudo /etc/init.d/networking restart doesn't work:
[code].....
View 3 Replies
View Related
Sep 20, 2010
I have a desktop computer (Ubuntu) connected to one of the LAN ports of the Cradlepoint MBR1000 router via an Ethernet cable. I also have a Verizon mobile broadband USB modem (USB760) plugged into the USB port of the Cradlepoint router.I also have a laptop (Ubuntu) with a wireless wi-fi adapter (802.11g). The laptop also has an Ethernet card but I'm not using it. The desktop computer does not have a wi-fi adapter, only the laptop does.
With the above setup, I have Internet access to both the desktop computer as well as the laptop computer, which I am well pleased with.Is there a way I can have file sharing between the desktop and the laptop, or at least ping between them, the way I have it set up? I can't use the ad-hoc method because for that to work each computer needs a wi-fi adapter. The router is using DHCP but can also be configured manually.
View 14 Replies
View Related
Jun 30, 2011
I have a Belkin wireless router model F5D7234-4 version 5. I switched to DHCP long enough to access the router via Firefox browser and look at all the settings. I turned off all encryption and other security related functions in order to just get it going. The IP of the router is 192.168.2.1 which is the default for this router. It is set to channel 6. I can not ping the router from either of two machines using regular ethernet or wireless. I have very limited experience with routers and am in need of help so I can use this for wireless connection to my living room box to my laptop in the bedroom about 50 feet away.
I tried changing the gateway from the living room box IP number to the router IP number with no success. I don't have anything connected to the internet port on the router. The living room box and the laptop are connected to the ethernet ports on the router. Ethernet works fine. Wireless does not. I compiled and installed the drivers for my wireless card on the laptop, a Realtek 8176 which uses the kernel modules rtl8192ce, rtlwifi and mac80211. ifup wlan0 brings up the wlan interface with these modules loaded. Right now I just want to be able to ping the router using regular ethernet. That would tickle me pink at this point. I downloaded the manual but I just can't seem to make headway.
View 2 Replies
View Related