LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2012, 04:29 AM   #1
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Rep: Reputation: Disabled
Almost naked debian6 needs network.


I've got system debian6-based but almost empty, and I really need to make it work. There is no C compiler so i cant install anything manually, there is no networking system I'm used to on normal ditros, there is no ssh to just monster copy everything from my working squeeze. There was no /etc/network/interfaces neither /etc/init.d/networking. I have copied both through flash, did a script for my eth2, put it into rc.local. I can ping everything in my local network including the gateway. But probably because I have to set my gateway(usually done in interfaces) i am unable to ping anything(access) in the global network which would allow me to apt-get the stuff I need. So this is basically naked system, without almost anything, I've got tar, apt-get some superbasic utilities, but thats it. Hope for help, i.e. how to configure the network manually, not having anything at all.
 
Old 10-16-2012, 04:48 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
to start networking try as root
Quote:
dhclient eth0
 
Old 10-16-2012, 05:01 AM   #3
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
I've got no eth0 even Please read, the problem is much harder than you suspected in your reply.
 
Old 10-16-2012, 05:14 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I have copied both through flash, did a script for my eth2, put it into rc.local. I can ping everything in my local network including the gateway. But probably because I have to set my gateway(usually done in interfaces) i am unable to ping anything(access) in the global network which would allow me to apt-get the stuff I need.
Just installing debian from cd-1 gives you the basic network tools & CLI, the networking isn't started automatically. Issuing command dhclient eth2 will start network which you can test by pinging google or using apt-get update.
dhclient can be used with eth0 eth1 eth2 or whatever wired network, if you have wireless then you'll most likely need to get another cd maybe cd-2
 
Old 10-16-2012, 05:26 AM   #5
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
That is not a debian cd-1, that is custom distro for cpc306 by "fastwel" becuase it is the only distro that runs there. 256mb of ram, vim3d and stuff.
Just "in case". The dhclient eth2 command does nothing, and system hangs, top shows no activity except for itself whatsoever. Pinging py IP-address gives "network is unreachable", by name - "unknown host".

Last edited by eeluve; 10-16-2012 at 05:31 AM.
 
Old 10-16-2012, 08:42 AM   #6
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
Really need someone with clues or experience, so kinda bump.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Naked DSL Questions. shorty_boy General 3 01-19-2009 06:26 AM
Naked VPS distribution. gliesian Red Hat 10 04-09-2008 11:00 PM
MS VC++ __declspec(naked) SteQve Programming 7 03-08-2005 10:53 AM
Installation of 7.3 on a naked 560e visamark Linux - Newbie 1 08-17-2002 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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