Ubuntu Networking :: Homepage Routed To D-Link Router Login Page On Local Machines?
May 20, 2011
In addition to 2 "desktop" machines, I recently set up an Ubuntu Server with Apache2, but when I try to access my www.homepage from a machine locally connected to the same router (via both wired & wireless interfaces), I am directed to the Login page of the router, not to the www.homepage. Yet, when I access the www.homepage from elsewhere, my www.homepage is accessible.
I can browse to my www.homepage by entering the local IP address into browsers on both local machines, so I know the machines are talking to each other. Just not letting me get in via normal internet browsing channels.
Server: Ubuntu 11.04
Webserver: Apache2
Router: D-Link DIR-615
IP Address of: 192.168.0.110 (reserved on router, static on server)
I have three machines say A B and C. I want to make machine B as a router for A and C, so that the ping packets from C to A should be going via B. I have directly connected two interfaces(eth4) of A and B and similarly two interfaces(eth5) of B and C. I have even set up a route between B and C. 1. But I am not able to set a route between B and A.2. If I ping A from eth4 of B(viceversa) it works. When I ping B from eth5 of C it work but not the viceversa.3. Also, if I ping from C to A, B receives the packets, but not A.
I have searched google, but can't really get the hang of setting this up.Most howtos are setting up a DHCP and PXE on the same box. At the present my DHCP is done by my router and I want to set up the PXE server on my main PC.My router can re-direct traffic types based on ports (UDP or TCP) to an IP but can't do the bit about directing the pxe loader name (and I really don't want to ssh into it and start messing about there)If I redirect the port (what ever it may be, help required here) how would I go about setting up the Ubuntu PC to do the load and pass back to the PC trying to PXEboot?
Ubuntu forum home page will lock up, just for several seconds once I scroll past the community cafe link. Then the page will free up, it is just annoying to have to wait 5-10 seconds for the page to free up.
I am running 64 bit ubuntu 10.04 and my browser is google chrome.
Does this happened to anyone else? Any advice on a corrections, this seems weird enough to not have a fix
I'm running into a curious networking hiccup with my router setup. I have a D-Link DIR-628 wireless router connected to our modem, and a wire running from that to a Linksys WRT-54G (v1.1) in our basement. This setup worked great for a few days, but then suddenly the Linksys stopped routing us to the internet. I can connect to the router page on the Linksys and using the diagnostic tools I can ping the web from there, but none of the computers connected to it can. Everything is fine when connected to the D-Link.
After fiddling around with just about every setting on the Linksys I finally gave up and tried resetting it to factory defaults--and it worked! Everyone could access the internet again. But then, every day or two it locks up again and I have to reset factory defaults again.
So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:
Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)
I have 2 machines both using U 11.04, one of them being Studio. I have tried to connect them together (via a modem/router of course) to browse files but I can't connect. I get error messages. I've installed samba and everything.
I wanted to be able to have separate NICs with separate IPs connecting to separate gateways on a machine so I could put an ftpd on each one. I tried binding an ftpd to each, and running separate instances of the ftpd. I tried virtual hosts.
NOTHING worked. I could either use one ftpd or the other. I could either connect via ssh on one IP or the other. the second I turned one NIC off stuff would work again. I messed with basic iproute commands, andnothng worked until I got this script to run, which allowed me to use each NIC independant of the other.
Code: #!/bin/sh #ip route flush all ip route del default dev eth1 ip route del default dev eth0 ip route del table 1 ip route add table 1 to default via 10.10.10.1 dev eth1 code....
But now, samba client doesn't work. cifs mounting doesn't work either. It can't connect.
BEFORE I ran that script, I could connect via ssh, or to the ftpd running on the machine using a LOCAL IP - 10.10.10.2. AFTER, I have to use the external IP, or I cannot connect. I know that has something to do with it, but I do not have the advanced linux routing knowledge to redo the script or come up with a solution.
I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...
the router is TP-Link TL-WR340G. When I got it I entered the menu and configured everything without problems. Some time ago I had to reinstall ubuntu and after that I couldn't access the router. I tried to reset it, i tried switching the wifi on and off. I connect the router and the pc with the network cable, i type 192.168.1.1 in firefox and it says: can't access site. I plug the internet cable in the modem - its the same and I dont have internet at all.
1. Using XP Pro SP3 (32-bit) 2. Laptop = Sony VAIO VGN-FZ140E 3. Recently purchased a TP-Link Router (TL-WR740N) which claims to give 150 Mbps speed
When connected, my Intel Wireless WiFi Link 4965AGN shows a speed of only 65 Mbps . A friend came over with his laptop (having Windows 7) and was able to get 150 Mbps speed. I even compared and the same web sites were opening with considerable difference on our laptops. Do I need to upgrade the driver?
I have set up a LAN/WLAN, DDNS server, DCHP server, and a proxy/NAT server using Debian/GNU. Now I would like to redirect the host web browser to a welcome web page so the users of my network can read the terms of use and accept them before having access to the internet. Could some one help me to achieve this?
Actually, I have two ISP's internet connection on firewall. I want to use third party software on my workstation if any one link gets down, I got the alarm on local system. How to get an url for download any freeware software.
I need to connect to my router using only CLI, specifying an username and password, preferably with a single command line, so it won't be interactive, 'cause I need to include the command in a script.
router DIR 100 4 ports adsl connected to WAN Linux connected to port 1 Mac connected to a port 2
I am trying to figure why linux hostname is not detected in my LAN. The strange thing is that my macs hostname is automatically detected and put in DHCP CLIENT LIST! I have scrolled the whole manual 10 times.
My Linux (Slackware 13) gets IP address automatically by DHCP server in router. Has anyone had this problem with routers in general?
I have laptops with intel 4965/AGN wireless hardware and ubuntu jaunty. My wireless access point, router, gateway is a D-Link DIR-655. The D-Link is directly connected to my cable modem. The connection does not drop, but They suddenly quit talking with each other. After a brief time lapse, they start talking again without intervention on my part. When I say "stop talking" this is behavior where a browser will return "page or server not found" errors or "DNS timeout". Has anyone seen this sort of network behavior and have some idea about corrective actions?
My attempts to get some help from D-Link have not been successful. Since there are not hundreds of folks reporting troubles, they don't [want to?] understand one poor souls problems.I've tried to ask about this several times and several places.
I use a wired Dlink Adsl Router GLB502T with its inbuilt dialer configured. Problem is it will not connect while computer is running.When I try to ping the local ip of the modem this is what I get "ping: sendmsg: Operation not permitted" and "/etc/init.d/networking restart" has no effect either.I need to restart my computer every time i want to connect to the Internet.I switch on the modem when the grub bootloader appears and the modem connects without any problem.This problem appeared when i installed Ubuntu 9.04.There was no problem with Ubuntu 8.04.
OS:Ubuntu 9.04 Motherboard: Asus M2N68-AM NVIDIA Geforce 7025/nForce 630a RTL8211CL Phy Gigabit LAN
1) it cannot see any networks around 2) i cannot setup it in master mode to use my PC as a router
As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:
Code: Ubuntu 10.04 Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux TP-Link TL-WN321G wifi usb adapter as seen as Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter $ iwconfig wlan0 wlan0 IEEE 802.11bg ESSID:off/any [Code]....
Presently this client access the net through following setup ADSL modem -> hub -> all computers
Now they want to do some kind of bandwidth control, content filtering. So I tried setting up squid with dansguardian. This is what I did ADSL -> linux server -> all computers.
The linux server has two NIC cards. One to the ADSL router and another to the local hub. This is how my squid.conf file looks like
Have set the gateway server as 121.x.x.1. Which is the gateway server of the ISP. Now I can ping the local network, but cant ping the gateway or any other website. Also I am unable to access the router administration page.
I added an init script numbered just before bind9 starts, which needs to see the ipv6 link-local address on eth0. Sometimes this address is not configured, yet. In all cases it eventually is configured.
I am unable to find any script that is configuring the ipv6 link-local address (which is in part based on the MAC address). Does anyone know if there is some script or program that is supposed to be doing this, or is it an internal kernel function?
One workaround I am considering is making this init script go into a loop around sleep 1 to keep checking for the ipv6 address. But I'm concerned this might cause some problems. Any suggestions? I don't want to let it move on to start bind9 until the configuration this script does (more ipv6 addresses) is done.
This is on Ubuntu 9.10 server (for which there is not a prefix choice).
I have a telephone connection of 1 mega internet modem huawei mt 880 SmartAX my desktop computer is connected via an ADSL PPPoE.I use Ubuntu 10.04 in Spanish and want to know how to connect a WiFi router TP-LINK TL- wr942nd to provide wireless Internet to other 2 PC, a desktop with a plaquet wireles G CNet CWP-854 and 500 series notebook olivetti olibook. The issue is that when I connect the router I can not even go online and do not know how to operate the network, I can not even connect the desktop to my internet provider
I've already designated a machine to act as the router to the hurricane electric tunnel. I created a he-ipv6 device on it and can ping ipv6.google.com. No problem.
The problem happens when I want clients to use that router. That is, I can't ping ipv6.google.com from other machines on my LAN.
I setup /etc/radvd.conf, which seemed to successfully give out addresses to my clients:
I start the daemon and check that my clients have new ip6 addresses. So far so good. On my router, I do a sysctl -p and see that /proc/sys/net/ipv6/conf/all/forwarding = 1. I haven't touched ip6tables/iptables yet. Both are in a flushed state.
My ipv6 router is actually inside the LAN which gets internet from another machine which has let ipv6 packets through using protocol 41. I figure I don't have to worry about anything else because if my router can ping6 ipv6.google.com, the failure point would be there.
So my clients get ip6 addresses, but can't ping6 the router nor the ipv6.google.com. They do resolve ipv6.google.com however and I checked the traffic on the router over he-ipv6 from ifconfig and RX and TX bytes were changing during the ping.
My router has only one physical device for forwarding, eth0 and the tunnel device he-ipv6. Do I need to add some kind of ip6tables to see a simple ping from my clients?
What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?
I can reach other hosts by means of their global addresses by either the IP address or hostname (that has the global address). What I want to (also) do is have a hostname that references the IPv6 link local IP address (an AAAA record in DNS, or just the fe80::<whatever> address in /etc/hosts) and use that host name in commands to access that host. The problem is, an interface ID is needed when making such a reference.
It sure looks like the programs just pass the host name string on to the resolver library, which does not understand the significance of the '%' even though it could find and see that the name preceding the '%' is consistent with that being an IPv6 link local address (e.g. the logic could have been "split at first % and see if preceeding name is found as a link local address and accept that if so, or ignore the split otherwise" ... but it isn't). Is there a different syntax for this ... or was it overlooked in the design of programming around IPv6?I want to be able to address a host by its link local address, while still using a mnemonic instead of having to type the IPv6 address.
I currently have one of our clients set up to use a routed VPN for their 5 laptops to connect to the server remotley. And this works brilliantly. They are about to bring on a remote office that will need a VPN connection back to the main office, so I was going to set up a bridged connection between the two sites (and possibly more sites in the future).
So my question is whats the best way to go about this? Can I have one instance of OpenVPN running with tun0 set up for a routed connection to the laptops and add a second tun (tun1) to the config that will be for the bridged connection between the sites? Or am I going to have to run multiple instances of OpenVNP, one for the routed and another for the bridged?
If routed and bridged have to run in seperate instances, will I have to add another instance for each new remote site that needs a connection? Can a bridged config connect to multiple sites, or have multiple tuns in the one config?
I have a linux server I'm intending to use as a firewall. The server has the following adapters
eth0 - Public IP (VLAN2) eth0:1 - Public IP2 (VLAN2) eth1 - 10.241.4.4 (VLAN4)
the Default gateway is my ISPs gateway. Additionally, I have the following route set: route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.241.4.1
I have a server that exists on VLAN 208 at IP 10.241.209.67/21., its GW is 10.241.208.1 (first IP in /21 range)
as it is on the 10.0.0.0/8 network, traffic from the firewall is successfully routed from that server through my router to the FW and out to the Internet. The FW can ping, ssh, etc... the server and vice versa.
I want an iptables rule that will allow me to forward port 4401 on eth0:1 to 10.241.209.67:4401.
Is this possible since the IP is not on the same subnet as eth1, even though it is accessible?
I'm a bit better than a neophyte linux user. I have not made port forwards with it in the past without scripts to assist so I'm looking for not just "it is possible", but also the syntax of how to add it.
I have a linux desktop with two connections - fast eth0 and slow modem ppp0. Most of traffic (e-mail, DNS, NTP) can be routed simply by IP/mask. But how about http and p2p (torrents, DC++)? Routing by IP is unacceptable, because there is very huge amount of routing rules. I need route http packets (80 port) through ppp0, p2p through eth0 (10000:65535 ports). I've found that splitting traffic by port is possible with marking packets for different gateways. For begin I cleared all tables and bringed up connections.
I am building a router and I wonder if I have some rules like this and /proc/sys/net/ipv4/conf/all/accept_source_route is 0 will it work.
Code: echo 1000 TEST >> /etc/iproute2/rt_tables iptables -A PREROUTING -s 192.168.2.0/24 -t mangle -j MARK --set-mark 1 ip rule add fwmark 1 table TEST ip route add default via 192.168.3.5 dev eth2 table TEST
I am not quite sure is it source routed packages at all. And also even if it works with my router will next firewall drop such packages. I have mentioned before that some things like:
Code: ip route add default via 192.168.3.5 dev eth2 src 192.168.2.0/24 do not work
I have a reverse ssh connection established from a remote machine to my local machine - it is established with autossh from the remote machine - I know it is connecting because I can see the two ssh processes on the local machine - and, when I kill the two ssh processes, two new ssh processes are immediately established. But I cannot login to the port on the local machine. I have tried everything - it simply refuses to connect. This remote machine is miles away and not readily accessible.
Code: ssh -p 7766 -vvv user[at_sign]192.168.1.108 OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0
[Code]...
I'm wondering if there is some way I could utilize netcat or socat to "tap into" this connection from my local machine??? (My ultimate goal would be to get to a shell on the remote machine.)