DSL Problem

Eddie Torres veloct at veloct.net
Tue Jan 3 23:57:34 UTC 2006


Richard Reyes wrote:
> Hi All,
>
> Heres some info.
>
> sandman at earlgrey:~$cat  /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
>
> # This is a list of hotpluggable network interfaces.
> # They will be activated automatically by the hotplug subsystem.
> mapping hotplug
>         script grep
>         map eth0
>
> iface eth1 inet
>
> iface eth0 inet static
> address 10.0.0.56
> netmask 255.0.0.0
>
> auto eth0
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$ ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:12:3F:E8:0E:6A
>           inet6 addr: fe80::212:3fff:fee8:e6a/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:324 (324.0 b)
>           Interrupt:18
>
> sandman at earlgrey:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$ cat /etc/resolv.conf
> nameserver 202.138.128.50
> nameserver 202.138.128.2
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$ sudo mii-tool eth0
> Password:
> eth0: negotiated 100baseTx-FD flow-control, link ok
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$ lspci | grep Eth
> 0000:03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0
> 100Base-TX (rev 02)
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$
> sandman at earlgrey:~$ lsmod | grep mii
> mii                     5248  1 b44
> sandman at earlgrey:~$
>
>
>
>
>
>
> On 1/3/06, Eddie Torres <veloct at veloct.net> wrote:
>   
>> Richard Reyes wrote:
>>     
>>> Hi Dave/All,
>>>
>>> Nothing is printed when I ran sudo ifconfig. However I tried ifconfig
>>> -a and it shows my interfaces but no IP's
>>>
>>> /etc/resolv.conf has 2 lines just my DNS IP address.
>>>
>>> On 1/3/06, Dave <dsterken at gmail.com> wrote:
>>>
>>>       
>>>> Richard,
>>>>
>>>>  Only a thought, but have you checked that the IP is still resolved
>>>> correctly? You can check by typing:
>>>>
>>>>   sudo ifconfig
>>>>
>>>>  Take the IP from there and make sure it matches resolv.conf
>>>>
>>>>  sudo vi /etc/resolv.conf
>>>>
>>>>  If not, edit it accordingly and then type
>>>>
>>>>  sudo chattr +i /etc/resolv.conf
>>>>
>>>>  Hope this helps.
>>>>
>>>>
>>>>
>>>> On 1/3/06, Richard Reyes <lord.richard at gmail.com> wrote:
>>>>
>>>>         
>>>>> Hi All,
>>>>>
>>>>> Good Day.
>>>>>
>>>>> Newbie Question.
>>>>>
>>>>> I have a DSL working in windows. Its using DHCP or something but there
>>>>> was an error getting IP from the network. The customer support had to
>>>>> give me the ip address so i can connect from inside windows.
>>>>>
>>>>> Now I have succesfully setup the latest Kubuntu ( Breezy ) in my
>>>>> laptop. I have set the same IP address I am using in windows for the
>>>>> DSL connection. But I still have no connection.
>>>>>
>>>>> Any help is appreciated.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Richard
>>>>>
>>>>> --
>>>>> kubuntu-users mailing list
>>>>> kubuntu-users at lists.ubuntu.com
>>>>> http://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>>>>>
>>>>>
>>>>>           
>>>> --
>>>> Dave Sterken
>>>> --
>>>> kubuntu-users mailing list
>>>> kubuntu-users at lists.ubuntu.com
>>>> http://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>>>>
>>>>
>>>>
>>>>
>>>>         
>>>       
>> Can you paste the results of your /etc/network/interfaces file? Also try
>> this:
>>
>> sudo ifup eth0
>>
>> then rerun the ifconfig command and paste the results.
>>
>> --
>> kubuntu-users mailing list
>> kubuntu-users at lists.ubuntu.com
>> http://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>>
>>     
>
>   
Well, on the info. from /etc/network/interfaces I see a couple of 
things.  First, do you have a second card in your system? If you don't , 
you don't need the line with eth1.  Second, you have set your ip as 
static which is fine except that you have no gateway setup.  If you 
gateway ip is 10.0.0.1 then just add this line below netmask (shouldn't 
your netmast be 255.255.255.0?): gateway 10.0.0.1.  Of course you'll 
have to edit file as root (use sudo) and then do the following:

sudo ifdown eth0
sudo ifup eth0
ifconfig

You should have the an ip and be able to surf.  Paste your results.





More information about the kubuntu-users mailing list