Difference between revisions of "Network FAQ"


From Knoppix Documentation Wiki
Jump to: navigation, search
m (stupid wiki lang bug)
m (stupid wiki lang bug)
Line 1: Line 1:
−
-German Version: [[Network FAQ Deutsch]]
 
−
 
−
-Versión en español: [[Network FAQ Spanish]]
 
−
----
 
−
Return to [[Knoppix FAQ]]
 
−
----
 
−
==== Q: How do I get ADSL with PPTP in austria to work? ====
 
−
A: the following instruction should work:
 
−
http://howto.htlw16.ac.at/at-highspeed-howto-2.html (German)
 
−
 
 
==== Q: How do I configure SAMBA or how can i use windows shares? ====
 
==== Q: How do I configure SAMBA or how can i use windows shares? ====
 
A: See [[Smb Client HowTo]] for connecting to windows shares. See [[Samba Quick FAQ]] for setting up a Samba server
 
A: See [[Smb Client HowTo]] for connecting to windows shares. See [[Samba Quick FAQ]] for setting up a Samba server
−
 
−
==== Q: I have installed to my Hard Drive and how do I connect to internet using DHCP? ====
 
−
A: The harddisk-installed system is a "normal" Debian. You have to add the following  lines to ''' /etc/network/interfaces''' :
 
−
* auto eth0
 
−
* iface eth0 inet dhcp
 
−
re-start the network with ''' /etc/init.d/networking restart''' to have the changes take effect.
 
−
 
−
 
−
 
−
 
−
==== Q: How do I browse through my Windows network at the office ? Can I log in at an NT domain ? ====
 
−
A: K-menu > Internet > [[Lin Neighborhood]]. Go to its preferences and specify IP for master server or WINS server. See also Samba info above.
 
−
 
−
 
−
==== Q: How do I use a static IP address with the CD-Rom? How do I modify /etc/hosts and /etc/resolv.conf which are read only files?  AFAIK, this is necessary to specify my IP address and my (ISP's) nameservers. ====
 
−
 
−
===== A: GUI driven configuration =====
 
−
The read only files are copied into a ram disc upon start up, hence they are easy to edit when root. Several tools are made available for easy configuration. For v3.2-v3.9:
 
−
  K-menu > KNOPPIX > Network/Internet > Network card configuration
 
−
which is the same same as performing the
 
−
  sudo netcardconfig
 
−
command from a shell. Fast, easy, automated script:
 
−
* decline DHCP
 
−
* enter IP address
 
−
* accept or edit other default settings
 
−
* Start firewall
 
−
 
−
===== A: Manual configuration
 
−
* start root shell
 
−
* Specification of nameservers, these should work for anyone as a first hack
 
−
  cat >> /etc/resolv.conf <<EORESOLV
 
−
  nameserver 139.30.8.7
 
−
  nameserver 139.30.8.8
 
−
  <<EORESOLV
 
−
* Overwrite original network description
 
−
  cat > /etc/network/interfaces <<EOINTERFACES
 
−
  auto lo eth0
 
−
  iface lo inet loopback
 
−
  iface eth0 inet static
 
−
    address /your IP number goes here/
 
−
    netmask 255.255.255.0
 
−
    gateway /and your gateway's address/
 
−
  <<EOINTERFACES
 
−
* Get things going, lo is going already
 
−
  ifup eth0
 
−
* Start the fire wall with K-MENU -> KNOPPIX -> Services -> Firewall (someone please give the exact english spellings here)
 
−
 
−
In order to make this persistent with the next reboot, one should create a persistent image o the local changes, suggested is to use a USB stick for such. See K-MENU -> KNOPPIX -> Configuration -> Install permanent image + Save configuration. No data on the USB stick will be overwritten.
 
−
 
−
----
 
−
Return to [[Knoppix FAQ]]
 

Revision as of 11:57, 5 August 2005

Q: How do I configure SAMBA or how can i use windows shares?

A: See Smb Client HowTo for connecting to windows shares. See Samba Quick FAQ for setting up a Samba server