LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2006, 01:55 AM   #1
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
unable to connect to internet in knoppix (no ifup).


H0wdy,...

i upgraded from knoppix to Debian Unstable.

i usualy connect to my isp using pptp:
Code:
 USERNAME=myusername
      IF=eth1
      /sbin/ifdown $IF
      /sbin/ifup $IF
      CABLEGW=`/sbin/route -n | grep ^0.0.0.0 | awk '{print $2}'`
      /sbin/route add -host myisp.net gw $CABLEGW
      /sbin/route del default
      /usr/sbin/pptp myisp.net debug user $USERNAME mtu 1460 mru 1460 defaultroute usepeerdns noauth
im getting the next error :
ignoring unknown interface eth1=eth1

so i tried ifconfig :
Code:
eth1      Link encap:Ethernet  HWaddr 00:50:22:B4:CD:09
          inet addr:172.24.54.6  Bcast:255.255.255.255  Mask:255.255.224.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:5101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4161 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3799925 (3.6 MiB)  TX bytes:705942 (689.3 KiB)
          Interrupt:17 Base address:0xc000

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

ppp0      Link encap:Point-to-Point Protocol
          inet addr:89.0.97.230  P-t-P:172.26.255.17  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:3753 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:3294854 (3.1 MiB)  TX bytes:487679 (476.2 KiB)
again i try ifdown and ifup :
Code:
/sbin/ifdown: interface eth1 not configured
Ignoring unknown interface eth1=eth1
i tried iwiz (Internet Wizard) (that always help me).

Code:
root@box:~# internet --connect
No DHCP client running for eth1 (good)
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

can't create /var/lib/dhcp/dhclient.leases: No such file or directory
/sbin/dhclient-script: line 61: /etc/sysconfig/network-scripts/network-functions: No such file or directory
/sbin/dhclient-script: line 62: /etc/rc.d/init.d/functions: No such file or directory
/sbin/dhclient-script: line 69: need_config: command not found
/sbin/dhclient-script: configuration for eth1 not found.
Listening on LPF/eth1/00:50:22:b4:cd:09
Sending on LPF/eth1/00:50:22:b4:cd:09
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 10.209.192.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.209.192.1
/sbin/dhclient-script: line 61: /etc/sysconfig/network-scripts/network-functions: No such file or directory
/sbin/dhclient-script: line 62: /etc/rc.d/init.d/functions: No such file or directory
/sbin/dhclient-script: line 69: need_config: command not found
/sbin/dhclient-script: configuration for eth1 not found.
/sbin/dhclient-script: line 166: /bin/ipcalc: No such file or directory
can't create /var/lib/dhcp/dhclient.leases: No such file or directory
bound to 172.24.54.6 -- renewal in 233365 seconds.
DHCP client dhclient started succesfully.
No PPtP client running (good)
Fetching gateway using dhclient...
grep: /var/lib/dhcp/dhclient.leases: No such file or directory
ERROR: failed fetcing Gateway
ERROR: System call failed
it connect me to the net but:
i was have to create /var/lib/dhcp (instead of /var/lib/dhcpd).
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to internet LoveKing Linux - Networking 11 04-07-2006 12:12 PM
Can't get Knoppix 3.8 to connect to the internet. bigrigdriver Linux - Software 2 09-29-2005 09:22 PM
Unable to connect to the Internet Melanieb Linux - Newbie 1 08-15-2005 05:52 PM
cant connect to the internet using pppoe on knoppix nor on damnsmall lemuel Linux - Newbie 0 01-06-2005 07:46 AM
Can't connect to Internet using Knoppix ISP=RoadRunner darkstar2778 Linux - Newbie 4 05-05-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:50 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