philwebs
01-14-2006, 12:31 PM
This posting is to help those like me who have struggled to get anywhere with Debian without going to Ubuntu or similar. The tips below have helped me to use a Debian machine going without too much pain and delving into arcane shell commands. Still got lots of problems and anyone with some ease-of-use tips please advise.
I tried to install Debian in September 2005 using the Linux Format disks, and failing to even configure a network card gave up in disgust.
I noted the thread by Blackbelt_Jones " Beginners: What to do after you've installed Debian" and posted something like "I tried it, got nowhere, binned it".
Not being one to give up and still curious as to what all the fuss is about I purchased a copy of the book Debian GNU/Linux 3.1 Bible. Highly rated but looks fairly simplistic and still doesn't answer a lot of my questions.
I have now got a functioning Debian box and I can manage it fairly easily using useful tools. This is how I got here.
1. Still had problems with the configuration/use of the network card during the install from cd process.
Applied the following to my No.2 play box during the install:
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1 (My No1 SuSE box)
Address Server my local ISP DNS
Hostname debian
Domain linux.net
I used my No1 SuSE box to ping and test connections and found which of the No2 box network cards worked, ping 192.168.0.2. This was also done during the install. Used a crossover cable to join the two machines together.
This meant I could connect to the internet for the first time.
(Note I did try playing with /etc/network files and the ifconfig command but this ended in disaster)
2. Hot Tip #1 - Install Synaptic the front end for apt.
(This tip is courtesy of Shep the Debian Addict in the Blackbelt_Jones thread)
First of all use the base-config command to add a repository to the apt sources list.
Now in a terminal/console type:
>whoami
>you are justauser
>su
Passwd: myrootpasswd
#whoami
#you are root
#apt-get install synaptic
Job done. Now fire up synaptic using the command as a user kdesu synaptic or as root synaptic.
Synaptic makes package searching and installation a delight. Easy to edit the repositories using the preferences in the proggy.
3. Hot tip #2 - Webmin
Using synaptic install webmin and the various webmin modules. Just search in synaptic for webmin. (If you install using apt-get install webmin you end up with a pigs ear ssh webmin....)
To use webmin fire up your fave browser and in the address bar type localhost:10000
Webmin is a nice easy to use configuration utility along the same lines as Yast in SuSE. Just makes life easier. If there is a module for a particular proggy it may help.
Things I haven't sorted out yet:
How to configure a modem. The No2 Debian machine is networked to my No1 SuSE box so this problem has not arisen. I have not seen an obvious way to configure and use a modem (book not much help) Wild guess it would need kppp, ppp-config, webmin or perhaps wvdial to configure a modem and kinternet to use it.
Firewall - I will need to read to RTFM on shorewall. Webmin doesn't appear to work from a cold start. Something in the book.
Sometime I will delve into the Debian manual and read a few docs. Yes I should do this first.
That's it. Hope this helps somebody. Any easy-to-use pointers gratefully received,
Regards,
Philip Webster
I tried to install Debian in September 2005 using the Linux Format disks, and failing to even configure a network card gave up in disgust.
I noted the thread by Blackbelt_Jones " Beginners: What to do after you've installed Debian" and posted something like "I tried it, got nowhere, binned it".
Not being one to give up and still curious as to what all the fuss is about I purchased a copy of the book Debian GNU/Linux 3.1 Bible. Highly rated but looks fairly simplistic and still doesn't answer a lot of my questions.
I have now got a functioning Debian box and I can manage it fairly easily using useful tools. This is how I got here.
1. Still had problems with the configuration/use of the network card during the install from cd process.
Applied the following to my No.2 play box during the install:
IP 192.168.0.2
Netmask 255.255.255.0
Gateway 192.168.0.1 (My No1 SuSE box)
Address Server my local ISP DNS
Hostname debian
Domain linux.net
I used my No1 SuSE box to ping and test connections and found which of the No2 box network cards worked, ping 192.168.0.2. This was also done during the install. Used a crossover cable to join the two machines together.
This meant I could connect to the internet for the first time.
(Note I did try playing with /etc/network files and the ifconfig command but this ended in disaster)
2. Hot Tip #1 - Install Synaptic the front end for apt.
(This tip is courtesy of Shep the Debian Addict in the Blackbelt_Jones thread)
First of all use the base-config command to add a repository to the apt sources list.
Now in a terminal/console type:
>whoami
>you are justauser
>su
Passwd: myrootpasswd
#whoami
#you are root
#apt-get install synaptic
Job done. Now fire up synaptic using the command as a user kdesu synaptic or as root synaptic.
Synaptic makes package searching and installation a delight. Easy to edit the repositories using the preferences in the proggy.
3. Hot tip #2 - Webmin
Using synaptic install webmin and the various webmin modules. Just search in synaptic for webmin. (If you install using apt-get install webmin you end up with a pigs ear ssh webmin....)
To use webmin fire up your fave browser and in the address bar type localhost:10000
Webmin is a nice easy to use configuration utility along the same lines as Yast in SuSE. Just makes life easier. If there is a module for a particular proggy it may help.
Things I haven't sorted out yet:
How to configure a modem. The No2 Debian machine is networked to my No1 SuSE box so this problem has not arisen. I have not seen an obvious way to configure and use a modem (book not much help) Wild guess it would need kppp, ppp-config, webmin or perhaps wvdial to configure a modem and kinternet to use it.
Firewall - I will need to read to RTFM on shorewall. Webmin doesn't appear to work from a cold start. Something in the book.
Sometime I will delve into the Debian manual and read a few docs. Yes I should do this first.
That's it. Hope this helps somebody. Any easy-to-use pointers gratefully received,
Regards,
Philip Webster