On Wednesday 19 November 2003 23:07, Melissa Reese wrote: > Is there any way to completely wipe the slate clean with regards to my > LAN Configuration, then start over?
Only ways I know is either using the wizard or "ifconfig". On a running system "ifconfig" overwrites all but gets lost on a reboot. Personally I use a physicall firewall (an old 486) so I actually never have to reconfigure my cable connection, only my lan on a new install. Frankly the last time I reconfigured that box was three years ago, it's just there and runs 24/24:) My lan has fixed IP's so the command line sequence is fairly easy: ~:"ifconfig eth0 192.168.0.1 up" that way I can ping (and connect to) all the other boxes on the 192.168.0.0-255 network. In case of dhcp it requires "ifconfig eth0 dhcpd up" IIRC after which the "ifconfig" will give you the assigned addres. To get on the internet I have to specify the gateway box which is 100 in my case. ~:"route add default gw 192.168.0.100" and if necessary add 192.168.0.100 as dns server in /etc/resolv.conf by editing that file. On the ComMandLine(CML): ~:"echo nameserver 192.168.0.100 > /etc/resolv.conf" In your case you'll have to let the wizard probe or get the info from your ISP yourself. Optionally you can run ~:"/sbin/dhclient-script" after which you do ~:"service network restart" if things have changed....... thanks to good ol' Stephen Kuhn for that one;) > > > Be sure to set your ISP as 'nameserver' and as "default gateway'. > > Otherwise you won't get far. > > Can you specify just what that means? Should I must put: > > "'isp'.com" in those? Or is there a more proper way to specify my ISP > in those fields? Well usually the wizard would've found those....but they should be a number sequence like 62.238.44.99 or whatever your ISP assigns. > > > I gather your ISP uses DHCP (i.e. no fixed addres) so enable that. > > Yes. Interestingly, though DHCP is used, my IP address rarely > changes. Usually only when something goes wrong, and I have to re-set > things. Otherwise, even when I unplug the modem and plug it back in, > I still have the same IP address as before. Mostly cable-ISP's use the mac addres of a device to generate an IP addres....change the NIC or modem and you get a new addres. > > Um...can you tell me the whole sequence? Or is it self-explanatory > once I type "cd"? use "cd /mnt/cdrom" to move into into the cdrom directory....to move out just type "cd" and you'll be back in your ~/home/melissa or /root/ or whatever you are at that moment. Optionally you don't have to "cd" into those directories but just specify the paths, like: ~:"urpmi /mnt/cdrom/*rpm" which would install or upgrade all rpm's in that directory (providing all dependancies are met). > > > ... and do: "urpmi name_of_app.rpm" and away it goes!:) In this case > > the <tab> key is your best friend.....type in urpmi then the fisrt > > letters of the rpm you want to install and hit <tab>....after which > > the name will auto-complete. Saves a lot of secure typing:) > > I'll try this. Thanks! On the CML this auto-completion thing (i.e. the <tab> key) is THE way to go. It works almost everywhere on anything;) Good luck, HarM -- Registered Linux User #197998 FSF Associate Member #901 ICQ #146191606 Mandrake HowTo's & more: http://twiki.mdklinuxfaq.org
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
