Date: Sat, 21 Feb 98 15:54:25 EST From: Dwight McKay (The Moderator) Reply-To: Suns-at-Home@net-kitchen.com Subject: Suns-at-Home Digest V11 #8 To: Suns-at-Home-List Suns-at-Home Digest Sat, 21 Feb 98 Volume 11 : Issue 8 Today's Topics: dynamic ppp / from analog dialup line Hard disk size for Linux Hello! Setting-up New Shoebox Solaris 2.5 & Internal Modem x86 Problem Sun 3/80 Questions SunOS install on Sparc 5 Suns-at-Home Digest V11 #7 type 4 Pad missing +--------------------------------------------------------------------------+ | Submissions: suns-at-home@net-kitchen.com | | Requests: suns-at-home-request@net-kitchen.com | | WWW Archive access: http://www.net-kitchen.com/~sah | +--------------------------------------------------------------------------+ ---------------------------------------------------------------------- Date: Thu, 19 Feb 1998 06:52:13 PST From: "Mr.Venkat D" Subject: dynamic ppp / from analog dialup line To: suns-at-home@tigger.net-kitchen.com HI, I was able to configure the analog dynamic PPP from home after changing the present ISP. due to some reasons I was not able to login into the old ISP ut sfter changing to the new ISp it went on smoothly. Here is the configuration of my machine SS20/128mb/ Telebit 3K modem Also here is a note on PPP configuration . thanks for all the help... PPP comes already installed on Solaris based systems if you choose a full install. Packages required for PPP: SUNWpppk SUNWapppu SUNWapppr SUNWbnur SUNWbnuu Files and Daemons: ------------------ /usr/sbin/aspppd -> ppp daemon that reads the configuration file asppp.cf. start it with the command: /etc/init.d/asppp aspppls -> The shell used with ppp accounts. /tmp/.aspppfifo -> Temp info from aspppd stored here. If corrupt then remove file and restart aspppd to recreate. /etc/asppp.cf -> PPP configuration file used by both server and client /dev/ipdptp* -> Devices used for virtual connections when client connects to server /etc/log/asppp.log -> Monitors aspppd daemon activity. BEST debugging tool is to run: tail -f /etc/asppp.log. This will allow you to do interactive visual logging! /etc/uucp/Systems -> Used to establish the dialup connection to server /etc/uucp/Devices -> Used by Systems to choose the device. /etc/uucp/Dialers -> This is your modem specific entry that is referenced from Dialers. First Setup the PPP client system... Dynamic Addressed Client ------------------------ etc/asppp.cf: ifconfig ipdptp0 plumb up path interface ipdptp0 inactivity_timeout 120 peer_system_name # first field in /etc/uucp/Systems. ipcp_async_map 0 # Better performance. # debug_level 9 # uncomment for debugging /etc/log/asppp.log. default_route # Calls as default route. negotiate_address on # available with 2.5 and above. comment # out for static client configuration Note for dynamic configuration (when specifying negotiate_address on): ---------------------------------------------------------------------- The client ip address (Local-IP) and server ip address (Remote-IP) are not that important because with the negotiate_address on it will get the ip addresses from the server when you make a good connection. If you absitively, posilutely know what your ip addresses are, you can forgo the negotiate_address "on" line and specify the ip addresses in the ifconfig line. The instance where the statement I made above was true, would be in the circumstance that you were attempting to connect to a static server. Please note that if you are attempting to connect to an ISP, then they will almost *always* require that you set the negotiate_address "on". Dial-out Client UUCP Configuration Files ---------------------------------------- Sample /etc/uucp/Systems: Any ACU 9600 5551212 "" P_ZERO "" \c\r ogin: pppuser ssword: pppuser Now, comment out the old entry for hayes and put this entry in the Dialers file. This entry doesn't change any modem registers so it will work no matter which brand of modem you are using. Sample /etc/uucp/Dialers: hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT If you have NO LUCK with the above hayes entry later on when you try to test ppp, then comment it out and try one of these on for size instead: hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT STTY=-parity hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT STTY=crtscts hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT STTY=crtscts,cs8,-parenb hayes =,-, "" P_ZERO "" \EATDT\T\r\c CONNECT STTY=cs8,-parenb If you type them ALL into your Dialers file, you MUST comment out all but the ONE you want to use. If you don't the system will only read the first "hayes" line in that file!!!!!!! Sample /etc/uucp/Devices: Direct cua/a - 9600 direct ACU cua/a - Any hayes Note: Only the *first* ACU line will be read so comment out extra lines! Setup the PPP Server System... --------------------------- a.) All PPP user accounts use the /usr/sbin/aspppls shell. To test ppp-accounts, telnet to yourself and login using the ppp-account name. You should see PPP packets as below... ~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})}#} @{^CD}61~~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})}#} @{^CD}61~~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})} #} @{^CD}61 Wait about 60 seconds and the connection will eventually time out and give control of the terminal window back to you... **************************************************************************** *********************** Static PPP Server ********************************** **************************************************************************** /etc/hosts: 127.0.0.1 localhost 192.9.200.1 myserver loghost 192.9.200.100 ppplink1 192.9.200.101 ppplink2 /etc/asppp.cf: ifconfig ipdptp0 plumb up # modem 1 ifconfig ipdptp1 plumb up # modem 2 defaults inactivity_timeout 120 # 2 minutes ipcp_async_map 0 # Better performance. # debug_level 9 # uncomment for debugging /etc/log/asppp.log path interface ipdptp0 # ppp interface device peer_system_name # in /etc/passwd, /etc/shadow # or use Admintool path interface ipdptp1 # ppp interface device peer_system_name # in /etc/passwd, /etc/shadow # or use Admintool ************************************************************************ *********************** Dynamic PPP Sever ******************************** *************************************************************************** This will setup a server such that when two people call in, they can each be given their own ip address. The two potential client systems are noted by ppplink1 and ppplink2 in the hosts file and the asppp.cf file. /etc/hosts: 127.0.0.1 localhost 192.9.200.1 myserver loghost 192.9.200.100 ppplink1 192.9.200.101 ppplink2 /etc/asppp.cf: ifconfig ipdptp0 plumb down # modem 1 ifconfig ipdptp1 plumb down # modem 2 defaults interface ipdptp* # ppp interface device inactivity_timeout 120 # 2 minutes ipcp_async_map 0 # Better performance. # debug_level 9 # uncomment for debugging /etc/log/asppp.log path peer_system_name # in /etc/passwd; or Admintool path peer_system_name # in /etc/passwd; or Admintool Are you unsure of how to setup the serial ports for your modem? Consult the "How to TIP" info doc for info on setting up your port to allow modems to dialin to your system succesfully! How To Test and Troubleshoot PPP -------------------------------- Test UUCP files and chat scripts... -------------------------------- Verify that at least your chat script is correct enough such that you can dial out from your client and connect to your server. ------- On the client, type: cu -d -L pppserver (ok, this is the name (first entry) in your /etc/uucp/Systems file) You will see something like this: conn(pppserver) Trying entry from '/etc/uucp/Systems' - device type ACU. Device Type ACU wanted Trying device entry 'cua/b' from '/etc/uucp/Devices'. processdev: calling setdevcfg(cu, ACU) fd_mklock: ok fixline(6, 38400) gdial(hayes) called Trying caller script 'hayes' from '/etc/uucp/Dialers'. expect: ("") got it expect: ("") got it sendthem (ECHO CHECK ON AATTDDTT991122113333330000996644^M^M) expect: (CONNECT) ^M^JCONNECTgot it STTY cs8,-parenb getto ret 6 expect: ("") got it expect: ("") got it sendthem (^M^M) expect: (ogin:) ^M^J^M^J^M^JLogin:got it Yes!!! we reached the login sendthem (loginname^M) and now we send the login (as per the System file) expect: (ssword:) Yes!!! we reached the password prompt ^M^JLogin: brian^M^JPassword:got it sendthem (password^M) and we send the password.... expect: ("") got it sendthem (^M^M) device status for fd=6 F_GETFL=2,iflag=`12045',oflag=`0',cflag=`2275',lflag=`0',line=`0' cc[0]=`3',[1]=`34',[2]=`177',[3]=`25',[4]=`1',[5]=`0',[6]=`0',[7]=`0', call _mode(1) Connected _receive started transmit started ~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})}#} @{^CD}61~~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})}#} @{^CD}61~~}#@!}!}!} }?}!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}3})} #} @{^CD}61 The strange characters you see above are PPP characters. If you see this, then we are ready to try PPP for real! Now it's time to test the PPP side of the world.... ----------------------------------------------- a.) Troubleshooting: Open a window just for the log file and type in it: tail -f /etc/log/asppp.log b.) The PPP daemon MUST be stopped, and restarted after every modification of the /etc/asppp.cf file: /etc/init.d/asppp stop /etc/init.d/asppp start If your asppp.cf file is set up correctly your should see this in your asppp.log file. 09:20:17 Link manager (8505) started 07/17/97 09:20:17 parse_config_file: Successful configuration If it doesn't say successful configuration you have a problem with your asppp.cf file. c.) Try to ping the server from the client... # ping 2.2.2.2 100 (the 100 says to not time out the ping command for 100 seconds) If you don't add the 100 to the ping line, then ping will DEFINATELY timeout before the connection is completed. Don't worry, you can just type ping again and it will pick up where it left off. Remember to keep that watchful eye on the log file (from step a). Anyway, the action of pinging should start the connection to the server, dial the number get logged in and start transfering PPP packets back and forth. Watch your log file as noted in step (A). You should see the same info as when you did the cu command... When you see the ppp packets being tranfered back and forth you can verify your connection with the ifconfig command. # ifconfig -a ipdptp0: flags=8d0 mtu 1500 inet 200.125.50.10 --> 200.125.50.10 netmask ffff0000 ether 0:0:0:0:0:0 This shows the connection for your ipdptp0 interface. The first ipaddress is your new ip address and the second ipaddress is the ip address of the system you are connected to. Oh, yes, by the way, your ping should also have come back with an "alive" message... **** Other Neat Stuff to worry about... **** d.) >>> To prevent a PPP client from dialing at bootup, or automatically, turn off RIP: With 2.5/2.5.1 make the file /etc/gateways and add the entry norip ipdptpn (where n is the number of the interface) >>> To make sure your system doesn't act as a router on another network create a file /etc/notrouter. # touch /etc/notrouter >>> The following files are for name resolution after you get connected to the isp. This allows you to talk to the rest of the world. The ip address of the nameserver needs to be supplied by the isp. /etc/resolv.conf: domain abc.com ---- domain name for isp nameserver 192.0.0.2 ---- ip address of the dns server for the isp /etc/nsswitch.conf ----- set the hosts line for files dns hosts: files dns e.) To allow a PPP client to talk to other systems on the Servers network add the following: Create an executable file called /etc/rc2.d/S99proxyarp. This should have an arp entry for each of your PPP clients, listing your server's ethernet address (ppplink1, ppplink2 are IP addresses for the PPP clients): ndd -set /dev/ip ip_forwarding 1 arp -s 8:0:20:1:2:3 pub arp -s 8:0:20:1:2:3 pub Make it executable, and run it: # chmod +x /etc/rc2.d/S99proxyarp # ./etc/rc2.d/S99proxyarp Cheers-- venkat ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - ------------------------------ Date: Tue, 17 Feb 1998 09:35:34 -0500 From: Ken Hansen Subject: Hard disk size for Linux To: Suns-at-Home@tigger.net-kitchen.com Pete, You can get a decent SPARC/Linux system running on a 400 Meg HD, but I am not sure you will have too much room for File Server data. AFAIK, the SAMBA implementation is very straight-forward, and if you are careful about the packages you install you could have 100-150 Meg left over for user files (just a guess). I hope you have at least 16 Meg RAM, as any less is a real performance bottleneck (X Windows will REALLY want 16 Meg, a non-X Windows system can get by with as little as 8 Meg RAM). Good luck, Ken khansen@njcc.com Dwight McKay (The Moderator) wrote: > Date: Tue, 10 Feb 1998 23:36:25 -0700 > From: Pete Harbeson > Subject: Hard disk size for Linux > To: suns-at-home@tigger.net-kitchen.com > > I just acquired a Sparc 2 on which I want to install Linux. It has a > 400MB hard disk. Is that sufficient, or should I just start off by > adding more HD capacity right away? I'll be using the system for some > light-duty development work (PERL and C), technical writing, and home > fileserver (assuming I can ever figure out Windows networking). > > Thanks! > Pete Harbeson > harbeson@garlic.com - ------------------------------ Date: Fri, 13 Feb 1998 23:02:06 -0500 (EST) From: Bob Harden Subject: Hello! To: Suns-at-Home@tigger.net-kitchen.com Hi im new to this list and just wanted to say hello. I thought it was interesting that there are a number of people who use Sun's in the home. I currently have an LX, IPC, 3/150, 3/60, and (2) 3/80's I also have a RS6K PowerStation 540 here at home and a Webforce indy is on the way. I run about everything there is to offer on these machines SunOS, NetBSD, Sparc/Linux, Solaris, and OpenBSD. I also do system administration work for NewWave internet while im in school but I hope to do network/system security consulting when I get out. Thanks for accepting me to the list! - Robert Harden - ------------------------------ Date: Sat, 14 Feb 1998 16:10:25 -0500 From: "Richard A. Cini" Subject: Setting-up New Shoebox To: "SAHList" Hello, all: I just got a non-Sun shoebox for my 3/50. It has a 60mb tape drive and a 330mb hard drive with no OS. First off, what is the best OS for this machine? Second, what's the best way to get the system on the HD? Do I need to temporarily need to hook-up a CD to it? Thanks in advance! Rich Cini/WUGNET (remove nospam_ to use) ClubWin! Charter Member (6) MCP Windows 95/Windows Networking ============================================ - ------------------------------ Date: Sat, 14 Feb 1998 17:08:43 -0500 From: Dan Lees Subject: Solaris 2.5 & Internal Modem x86 Problem To: suns-at-home-request@tigger.net-kitchen.com Hiya, I'm running Solaris 2.5 on my x86 PC and I'm having a problem getting the PPP software to dial my modem. It worked fine when I was dialing an external modem off of serial port B, but not that I put an internal modem on serial port A, it won't dial. The port is defined already defined, and I can use it with tip or cu. The modem device is specified as "ACU cua/a 19200 hayes" in /etc/uucp/Devices, and the "system" is digex-GW in /etc/uucp/Systems. The dialer, I'm using the default hayes entry in /etc/uucp/Dialers. If I do "cu -c cuaa digex-GW", the modem will pick up, dial, connect and I can see the output. But if I do "uutry -cACU -x9" I watch the output go along, but when the uucp dialer sends the init-string to the modem, it dosn't respond. If "cu -c cuaa digex-GW" responds, why does UUCP not? Help! Dan -- Dan Lees * thepawn@atlantis.edu * http://atlantis.edu/~thepawn -------------------------------==------------------------------- There is a smile in my heart that I have waited my whole life for. == Love is my religion -- I could die for that. John Keats == Love is most nearly itself when here and now cease to matter. T.S. Eliot - ------------------------------ Date: Sat, 14 Feb 1998 10:23:17 -0000 (GMT) From: Ryan Stapleton Subject: Sun 3/80 Questions To: suns-at-home@tigger.net-kitchen.com Hello, I have recently acquired 2 sun 3/80's. This all all well and good, but I have run into a few snags. I wanted to re-install sunos 4.1.1 (I have it sitting on my hd of my Linux machine) I finally got the rarp set up and it works, I finially got tftp to work to give it tpboot.sun3x no problem with that now. now once it boots I get boot: seems good so far, I go to try to boot from le() and it says le is not a valid boot device, you have to use like sd, st, etc seems like all tapes and disks. I have 2.9.2 boot prom in the sun (both of em have it) is there a way I can have it boot the install media from my Linux Box? Also is there a way I can have my linux box act as its disks? IE: nfs mount the OS, and stuff There is 2 105 meg disks in both machines, but I think the current one I am trying to boot may have a bad disk, it has missing INodes all over one of its disks. Ok I guess that was a big question with a lot of parts :) ok another question, everytime I boot that 3/80 it says its clock gained days, I am going to assume it needs a new nvram? where can I get this? How hard is it to install? and what info do I need to save from the old one? (and how) then what do I need to do to program the new nvram when/if I get it installed? Also where is it on the MB? Well that was a few more questions :) One more little group. Can sunos 4.1.1 with openview run with me being able to display stuff to it from my linux screen, kinda like its own OS + Xterm? Thanks. -Ryan --------------------------------------------------------------- - Ryan Stapleton | raal@penn.com - - 225 West Main Street | ryans@cis.clarion.edu - - Reynoldsville, Pa | ryan@flower.aud.temple.edu - - 15851 | - - Amateur Radio Call: KA3WUT | http://users.penn.com/~raal - --------------------------------------------------------------- - ------------------------------ Date: Mon, 16 Feb 1998 17:36:35 -0600 From: william.salmon@cna.com Subject: SunOS install on Sparc 5 To: suns-at-home@tigger.net-kitchen.com What is the trick to installing SunOS (any version) on a Sparc 5/i5? I have successfully installed different versions on a Sparc 2 and IPX with the "boot cdrom" command, but get the error "memory address not aligned" on either of my Sparc 5's. I have used different versions of SunOS (4.1.1, 4.1.3), and different memory, and different CD-ROM's (internal and external). Can I make a bootable floppy and then try to run the install from the CD? Please help! Also, does anyone know where I can get a copy of Red Hat Sun version. I will trade the latest (5.0) for a copy. Thank you. Wes - ------------------------------ Date: 14 Feb 1998 09:27:15 -0600 From: peter@taronga.com (Peter da Silva) Subject: Suns-at-Home Digest V11 #7 To: Suns-at-Home@tigger.net-kitchen.com >I just acquired a Sparc 2 on which I want to install Linux. It has a >400MB hard disk. Is that sufficient, or should I just start off by >adding more HD capacity right away? I'll be using the system for some >light-duty development work (PERL and C), technical writing, and home >fileserver (assuming I can ever figure out Windows networking). OpenBSD fits easily on a 270M, and I even managed to get it shoehorned in on 2 of those old Quantum LP105s sun used. I would be surprised to find that Linux needed much more space (it might, OpenBSD is pretty stripped down). -- This is The Reverend Peter da Silva's Boring Sig File - there are no references to Wolves, Kibo, Discordianism, or The Church of the Subgenius in this document - ------------------------------ Date: Sat, 14 Feb 1998 04:53:28 +0100 (MET) From: "Michael C. Vergallen" Subject: type 4 Pad missing To: Suns-at-Home Hi, I'm new to the list. I'm currently rebuilding 2 of my 3 sun namely a 3/60 and a 3/80 witch I saved from the place where computers go after they have finished their usefull life. I also have a 3/50 but this one will have to wait until I have the money to restore this beast. I've found most off the parts that where missing except a type 4 optical mouse pad. Dous anyone have a spare one ? I'm willing to pay a reasonable price for one. Alternatively I'd apreciate any suggestions one may have on alternatives one could use. If I have to purchase an extra rodent with the pad that would also be okey because I then could use one pad and both mice and keyboards I have instead of the one keyboard and one mice for both systems. Now for the uses off the systems I've been thinking off using the 3/60 who's got 24 MB of ram as a proxy server in my network and the 3/80 who's got 8 Mb off ram as a workstation maybe I'll add some ram to that box if I find it to slow to work on.Now my question is the 3/60 powerfull enough to run as a proxy server ? Or can I cluster the three systems to try my hand at paralell computing ? Michael --- Michael C. Vergallen A.k.A. Mad Mike, Sportstraat 28 http://www.double-barrel.be/mvergall/ B 9000 Gent ftp://ftp.double-barrel.be/pub/linux/ Belgium tel : 32-9-2227764 Fax : 32-9-2224976 - ------------------------------ End of Suns-at-Home Digest ******************************