Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
24 Cards in this Set
- Front
- Back
netconfig is used for configuring IP addresses, gateway, and DNS server information. In many cases you must be root to change network information but GUI programs ease this process.
|
In todays world there are GUI network tools on nearly any GUI linux machine. Use them. However; working drivers for some network cards are still an issue on certain linux distributions due to Licensing issues with the manufacture. (which is ironic b/c linksys is notorious for these issues and their firmware is based on linux code as of 2009)
NDIS WRAPPER is a good workaround but may not always work. I will assume your network card is installed, working and your network is setup correctly to give IP addresses. |
|
where is the network information kept in linux
|
cd /ect/sysconfig/network-scripts/
ls |
|
now that you have a list of all network tools show me the configuration of your first ethernet card
|
cat ifcfg-eth0
|
|
what syntax tool is used to configure your network card
|
ifconfig
(man ifconfig for more options) |
|
bring up (or turn on your network card)
|
ifconfig eth0 up 192.168.1.11
|
|
edited to be blank
|
click for next flashcard
|
|
where is the network information kept in linux
|
cd /ect/sysconfig/network-scripts/
ls |
|
now that you have a list of all network tools show me the configuration of your first ethernet card
|
cat ifcfg-eth0
|
|
what syntax tool is used to configure your network card
|
ifconfig
(man ifconfig for more options) |
|
bring up (or turn on your network card)
|
ifconfig eth0 up 192.168.1.11 netmask 255.255.255.0
|
|
add a default gateway to your network card
|
route add defaulf gw 207.12.144.222
|
|
where is the nameserver information kept
|
cat /ect/resolv.conf
|
|
you can add a nameserver as well. what commands can I use to do this
|
ifconfig and route
|
|
ppp or point to point protocol is used for dialup connections. its not usually installed by default on linux machines. where would I go to modify PPP scripts to get a user on a dial-up connection
|
cd /usr/share/doc/ppp-2.5.1/
ls (use the readme file...good luck) |
|
assuming you are already setup properly to use dial-up. how do you connect to the internet.
|
ppp-on
ppp-off (will disconnect you) |
|
connect to a remote machine
|
telnet ubuntu.org
type your username and password. these passwords are NOT encrypted. USE SSH TO LOG ON ENCRYPTED AND SAFELY. |
|
use SSH to connect to a computer
|
ssh -l
(man ssh for additional options) |
|
use the FTP protocol to transfer files over the internet
|
ftp (press enter and you will be given an arrow prompt > )
(man ftp or type help at this prompt for addition info) |
|
download a file from the ftp server
|
ftp > login with your info
cd yourfiles get yourfileslist.html /home/chris/randomfiles/yourfileslist_renamed.html |
|
upload a file to the ftp server
|
put /home/chris/randomfiles/yourfileslist_renamed.html yourfileslist_renamed.html
(note: this second name is not a typo. this is the name of the file you are uploading. You can name it whatever you like) |
|
use the graphical version of ftp
|
gftp
|
|
setup your firewall. look on the internet for tips and info on linux security. or linux firewall tools. or linux exploits and vulnerabilities.
|
GUI firewalls for linux. hacking tools for linux, and so on...
|
|
what does a superdaemon do?
name some superdaemons for networking |
superdaemons call a service such as FTP on an "as needed basis" when not in use the service is shut off to save resources.
Example: inetd and xinetd |
|
xinetd (pronounced: ZieyNet D)
is the next gen. security for linux on the internet. READ about it at xinetd.org ...this is the beauty of open source and a great example of community in action against mal-intent. |
you can configure xinetd as a secure replacement for inetd.
it stops 'denial of service' attacks. therefore I will not discuss inetd. you may (man inetd) on your own. At this point you should be connected to the internet so this tutorial is over. |