LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-29-2005, 07:14 AM   #16
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post


evwerything messed up after restarted and i tried to start eth0:
Code:
debian:/home/prakash# ifup eth0 up
Ignoring unknown interface eth0=eth0.
Ignoring unknown interface up=up.
Thus i deleted all ***** by network-admin.and run ppporconf and now browsing.SO i need
to do this for net connxn.
b/w i checked my lsmod and eth0 is displayed
Code:
#lsmod
e100                   38240  0
Thanks

Last edited by deepclutch; 10-29-2005 at 07:20 AM.
 
Old 10-29-2005, 10:09 AM   #17
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Well, the "auto eth0" that you added just seems to produce error messages,
so it's best to remove it from /etc/network/interfaces. There are other ways to
bring eth0 up at boot time.

For example, you can create a new init script called "local" and add the command
that brings eth0 up there. To do this, you first need to "su" to root, and then open
the new init script with a text editor (nano /etc/init.d/local). Make the first line
"#!/bin/sh" and add the command you use to bring eth0 up to the second line,
so it would look something like this:
Code:
#!/bin/sh
ifconfig eth0 up
Then close the text editor saving changes (Ctrl-x, y, Enter) and make your new
script executable (chmod +x /etc/init.d/local). Then create the symlinks that
call the script during boot time (update-rc.d local start 80 2 3 4 5 . stop 80 0 1 6 .).

You can use this "local" script to execute any commands you want at boot time.
It's not the most graceful way to start networking but, hey, whatever works is OK.

Last edited by Dead Parrot; 10-29-2005 at 10:12 AM.
 
Old 10-29-2005, 11:54 AM   #18
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Hey Dead Parrot!You Solved it Friend Now see my ifconfig:
Code:
Password:
debian:/home/prakash# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:11:66:B6:5E
          inet6 addr: fe80::211:11ff:fe66:b65e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:210 (210.0 b)

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:102 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6540 (6.3 KiB)  TX bytes:6540 (6.3 KiB)

debian:/home/prakash# pon dsl-provider
Plugin rp-pppoe.so loaded.
debian:/home/prakash# ping google.com
PING google.com (216.239.57.99) 56(84) bytes of data.
64 bytes from 216.239.57.99: icmp_seq=1 ttl=244 time=1155 ms
64 bytes from 216.239.57.99: icmp_seq=2 ttl=244 time=1146 ms
64 bytes from 216.239.57.99: icmp_seq=3 ttl=244 time=1132 ms

--- google.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3000ms
rtt min/avg/max/mdev = 1132.972/1144.844/1155.253/9.154 ms, pipe 2E]
That script solved my problem,Thank You Very Much Pal
b/w its showing some packet loss if i ping for long then it decreases

Last edited by deepclutch; 10-29-2005 at 11:57 AM.
 
Old 10-29-2005, 01:24 PM   #19
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I'm not good at network throughput problems. The DSL-HOWTO at Linux Documentation Project has some troubleshooting tips (see sections 5.3 and 5.4): http://www.tldp.org/HOWTO/DSL-HOWTO/index.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware networking with adsl? subaruwrx Linux - Software 4 10-07-2008 03:21 AM
Networking Debian Sarge CliffLandin Debian 1 10-05-2005 03:34 AM
adding wireless networking to sarge r.stiltskin Debian 1 10-24-2004 09:07 PM
Upgrading SARGE to Kernel 2.6 w/o networking... Mr.Radar Debian 2 06-07-2004 02:45 AM
Networking with Router and ADSL Bob Moore Linux - Networking 6 05-17-2004 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration