LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet Not Working (https://www.linuxquestions.org/questions/linux-newbie-8/internet-not-working-455644/)

bindusaleel 06-17-2006 08:05 AM

Internet Not Working
 
I have recently installed Ubuntu ( Linux) but ungortunately am unable to connect to the internet as it does not identify my connection, tho in windows I have no probs.I m using a Siemens Speedstream 6520 to connect to the internet and the driver provided with it is only compatible for windows / mac os. It was provided by the Internet Service Provider in my area ( Etisalat in UAE ) and when I contacted them for help they said that they do not provide support for linux. So, now I am in a fix as I really liked Ubuntu but am unable to switch to it completely as I cant be connected to he net. Pls help.

acid_kewpie 06-17-2006 08:31 AM

the speedstream 6520 is an ethernet router. it does not use drivers or anything, and it operate wholly independently to whatever machines connect to it. you need to look elsewhere to find what the problem is. firstly check your ethernet card is working, that you have layer 2 connectivity (a light on it) and that you can then ping the ip of the router. also check the output of "route -n" abnd "ifconfig" to see what your network settings currently look like.

bindusaleel 06-17-2006 08:50 AM

it is working with windows XP cos thats how i am online now. But what is ifconfig? I do not know much about what is to be done.

acid_kewpie 06-17-2006 09:00 AM

open a root terminal and run the commands i suggested. how do you even know your connection is not working?

Emerson 06-17-2006 09:05 AM

Well, the difference between using Linux or Windows is everything is automatically configured for Windows by the software provided by your ISP. In order to make it work under Linux you need to know how exactly your connection works. Nobody here can help you without knowing this. The problem here is some ISP's disable the router features of the modem and ship it pre-configured in bridge mode. This is probably an attempt to save on resources - user gets disconnected when computer is shut down. Anyway, you need to look at your connection under Windows. If Windows does all the PPPoE stuff (and has a public IP address) then your modem is in bridge mode.

bindusaleel 06-17-2006 09:16 AM

I know it does not work cos when I open the browser in linux it gives server not found. It is not identifying the connection. and then I do not understand how to add any of the details in terminal except for the username and password. I did not have to do anything in windows. Just put in the cd and the whole thing got configured.

acid_kewpie 06-17-2006 09:46 AM

well why not actually do what we are suggesting... run route and ifconfig in a terminal as root. "detecting the connection" means next to nothing. if the commands fail to run, run them with a full path, e.g. /sbin/route and /sbin/ifconfig.

that's really crap if the isp is just bridging... but then why dish out a 4 port wireless route if it's just bridging?

bindusaleel 06-24-2006 09:45 AM

This is what I get when I run ifconfig...Can you help me out now to configure my internet in any way??



eth0 Link encap:Ethernet HWaddr 00:14:85:01:CA:7C
inet addr:169.254.100.217 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::214:85ff:fe01:ca7c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2580 (2.5 KiB) TX bytes:3780 (3.6 KiB)
Interrupt:185

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:392 errors:0 dropped:0 overruns:0 frame:0
TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28808 (28.1 KiB) TX bytes:28808 (28.1 KiB)

Emerson 06-24-2006 10:03 AM

RFC 3330 - 169.254.0.0/16 - This is the "link local" block. It is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such as when a DHCP server may not be found.

The IP address your NIC has does not help much because you have no active connection (see above). What you really need to do is to see whether Windows is using a public or private address. Right now it looks like buying one of those little routers might be best way to resolve this problem - as acid_kewpie suggested. Ubuntu can deal easily with ethernet/DHCP connections, so I still suspect your modem is in bridge mode.

bindusaleel 06-24-2006 10:44 AM

Actually, I think the connection is not active cos I have not managed to configure it yet. I still don't know what to put where..

I cannot use any other routers as this is what is provided by the Internet provider here in Abu Dhabi. And my internet provider did tell me that this router can be configured for linux but they will just not provide any help ..

but how do I know if it is in bridge mode? Plas help..I really want to start using ubuntu..Thanks guys..

igorc 07-02-2006 09:10 PM

Hi,

I'm using Ubuntu with SpeedStream 4200 DSL modem/router and I have successfully connected to internet. I think Emerson is right, your modem/router is probably set in bridge mode, atlist mine is. This is what you should do:

1. Because you said everything works fine for you in Windows, go to your TCP/IP connection setup and wright down the IP address (mine was 10.1.1.3), default gateway address (it should be the IP address of your modem/router e.g. 10.1.1.1), netmask value (e.g. 255.255.0.0) and DNS address (or addresses) of your ISP DNS server(s)

2. Then restart in Ubuntu and configure your eth0 interface like this (as root in terminal window):

# ifconfig eth0 IP_address_from_windows netmask netmask_value_from_windows
# route add default gw Gateway_address_from_windows dev eth0
# ifconfig -you should see here the eth0 configuration like the one you have in windows
# vi /etc/resolve.conf - put here the following line(s), you can use some other text editor if you are not comfortable with vi
nameserver DNS_address1_from_windows
nameserver DNS_address2_from_windows

This should be enaf for you to connect to the internet with your eth0 interface statically configured. To make this changes permanent yo should put all of this informations in /etc/network/interfaces file under the line for eth0.

I hope this will help. It works for me.

Regards,

Igor


All times are GMT -5. The time now is 10:45 PM.