ubuntu needs windows to connect to internet

Asked by JAMES

If I turn on computer and startup ubuntu it does not connect to internet by firefox or email. These did work at initial installation. My ifconfig is given below.
eth0 Link encap:Ethernet HWaddr 00:0d:61:81:66:ab
          inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::20d:61ff:fe81:66ab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:125551 (122.6 KB) TX bytes:18330 (17.9 KB)
          Interrupt:17 Base address:0xb000

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:3026 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3026 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:151300 (147.7 KB) TX bytes:151300 (147.7 KB)

If I srartup windows first it always connects to internet however I was hoping to run without windows....not possible like this. I have a single computer network with ethernet to netcomm box.
All lights on box are normal.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
JAMES
Solved:
Last query:
Last reply:
Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#1

Hi, James.

Is your netcomm box assigning IP addres to your ethernet card? Put another way: Is DHCP turned on in your netcomm box?

Revision history for this message
JAMES (jim1-exemail) said :
#2

How do I find this out. I typed in the address for my netcomm but could see no ref to dhcp although this box works ok in windows/

Revision history for this message
JAMES (jim1-exemail) said :
#3

It does show an ethernet address as 192.168.1.1
Is this what you mean?

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#4

Ok. Let's do it the other way around.

To get this card working in windows, did you type in any values for IP address, or you just didn't do anything and it worked on it's own?

Revision history for this message
JAMES (jim1-exemail) said :
#5

initially the only number i typed in was the address for the netcomm box otherwise it was automatic - I did not have to do this when i started up ubuntu.

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#6

Ok. Probably, you have to tell Ubuntu where your "gateway" is.

Right click on the Network Manager icon and click on "Edit Connections ...". Depending on your Ubuntu version, you'll have to either Unlock the dialog window, or otherwise give your administrator's password. Do that.

Then, click on eth0, and then click on the Edit button.

After that, find the tab where you can set the IP address of the gateway and the DNS server, and put in 192.168.1.1 (your netcomm box). Sorry I can't give you the name of the tab I'm testing Xubuntu 8.10 and they changed that.

Hope it helps. I'll stay online.

Revision history for this message
JAMES (jim1-exemail) said :
#7

THANKS. I am going to have to go out for 1hr and then I will return and
check and advise you.
Jim
----- Original Message -----
From: "Angel Ramírez Isea" <email address hidden>
To: <email address hidden>
Sent: Thursday, August 28, 2008 3:24 PM
Subject: Re: [Question #43419]: ubuntu needs windows to connect to internet

Your question #43419 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/43419

    Status: Open => Needs information

Angel Ramírez Isea requested for more information:
Ok. Probably, you have to tell Ubuntu where your "gateway" is.

Right click on the Network Manager icon and click on "Edit Connections
...". Depending on your Ubuntu version, you'll have to either Unlock the
dialog window, or otherwise give your administrator's password. Do that.

Then, click on eth0, and then click on the Edit button.

After that, find the tab where you can set the IP address of the gateway
and the DNS server, and put in 192.168.1.1 (your netcomm box). Sorry I
can't give you the name of the tab I'm testing Xubuntu 8.10 and they
changed that.

Hope it helps. I'll stay online.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/43419

You received this question notification because you are a direct
subscriber of the question.

--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.6.10/1638 - Release Date: 8/27/2008
7:06 PM

Revision history for this message
JAMES (jim1-exemail) said :
#8

I cannot find network manager....where is it?

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#9

The icon on your status bar, with the two little monitors.

Revision history for this message
JAMES (jim1-exemail) said :
#10

I did this...a blank screen with no sign of etho

On Thu, 2008-08-28 at 05:51 +0000, Angel Ramírez Isea wrote:
> Your question #43419 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/43419
>
> Status: Open => Needs information
>
> Angel Ramírez Isea requested for more information:
> The icon on your status bar, with the two little monitors.
>

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#11

Ok. Let's try the "hard" way ;) hehe

Open up a terminal. Type:

sudo mousepad /etc/network/interfaces (if you are in Xubuntu)

or

sudo gedit /etc/network/interfaces (if you are in Ubuntu)

It'll ask for your password, but you won't see asterisks or anything whn you type. Then, your text editor will pop up.
the text inside should look like this:

[begin file]

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

[end file]

If not, change the appropriate IP addresses. Save and close the editor.

Then issue the following commands:

sudo ifdown --force -a
sudo ifup -a

Then it should work.

Revision history for this message
JAMES (jim1-exemail) said :
#12

 will try this and as i have several things to do my reply will probably
be quite a bit later.
On Thu, 2008-08-28 at 06:07 +0000, Angel Ramírez Isea wrote:
> Your question #43419 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/43419
>
> Status: Open => Needs information
>
> Angel Ramírez Isea requested for more information:
> Ok. Let's try the "hard" way ;) hehe
>
> Open up a terminal. Type:
>
> sudo mousepad /etc/network/interfaces (if you are in Xubuntu)
>
> or
>
> sudo gedit /etc/network/interfaces (if you are in Ubuntu)
>
> It'll ask for your password, but you won't see asterisks or anything whn you type. Then, your text editor will pop up.
> the text inside should look like this:
>
> [begin file]
>
> auto lo
> iface lo inet loopback
>
>
> iface eth0 inet static
> address 192.168.1.2
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> auto eth0
>
> [end file]
>
> If not, change the appropriate IP addresses. Save and close the editor.
>
> Then issue the following commands:
>
> sudo ifdown --force -a
> sudo ifup -a
>
> Then it should work.
>

Revision history for this message
JAMES (jim1-exemail) said :
#13

All I get is the first line the rest is blank

On Thu, 2008-08-28 at 06:07 +0000, Angel Ramírez Isea wrote:
> Your question #43419 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/43419
>
> Status: Open => Needs information
>
> Angel Ramírez Isea requested for more information:
> Ok. Let's try the "hard" way ;) hehe
>
> Open up a terminal. Type:
>
> sudo mousepad /etc/network/interfaces (if you are in Xubuntu)
>
> or
>
> sudo gedit /etc/network/interfaces (if you are in Ubuntu)
>
> It'll ask for your password, but you won't see asterisks or anything whn you type. Then, your text editor will pop up.
> the text inside should look like this:
>
> [begin file]
>
> auto lo
> iface lo inet loopback
>
>
> iface eth0 inet static
> address 192.168.1.2
> netmask 255.255.255.0
> gateway 192.168.1.1
>
> auto eth0
>
> [end file]
>
> If not, change the appropriate IP addresses. Save and close the editor.
>
> Then issue the following commands:
>
> sudo ifdown --force -a
> sudo ifup -a
>
> Then it should work.
>

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#14

Ok. That's probably it. Copy and paste the text I adapted to your description. Then save the file and run the other two commands.

It's almost 2 AM here in Venezuela, so I'll probably go to bed in a while :P

Revision history for this message
JAMES (jim1-exemail) said :
#15

this appears to have sollved problem, many thanks. Pity the setup could not have done this.