Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script started on Wed 07 Dec 2011 02:36:13 PM GMT
- root@jamie:/# lscd slackls[Kcd /mntls /mnt/slackmount -nfs kenny:/home/slackware /mnt/slack -o nolock--nfs kenny:/home/slackware /mnt/slack -o nolock
- root@jamie:/# mount -t-nfs kenny:/home/slackware /mnt/slack -o nolock
- root@jamie:/# mount -t -nfs kenny:/home/slackware /mnt/slack -o nolock
- root@jamie:/# mount -t -[Pnfs kenny:/home/slackware /mnt/slack -o nolock
- root@jamie:/# mount -t nfs kenny:/home/slackware /mnt/slack -o nolock
- root@jamie:/# ls[Kcd slackls[Kcd /mntls /mnt/slack
- slackware-11 slackware-12.1 slackware-13.1 slackware-13.37
- root@jamie:/# exit
- Script done on Wed 07 Dec 2011 02:36:35 PM GMT
- ___________________________________________________
- Script started on Wed 07 Dec 2011 02:28:54 PM GMT
- root@jamie:/# cd /bin etc/rd.c/ c.d/
- root@jamie:/etc/rc.d# more rc.inet.conf1.conf.conf
- # /etc/rc.d/rc.inet1.conf
- # This file contains the configuration settings for network interfaces.
- # If USE_DHCP[interface] is set to "yes", this overrides any other settings.
- # If you don't have an interface, leave the settings null ("").
- # You can configure network interfaces other than eth0,eth1... by setting
- # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
- # or empty, it is assumed you're configuring eth<interface>.
- # Several other parameters are available, the end of this file contains a
- # comprehensive set of examples.
- # =============================================================================
- # Config information for eth0:
- IPADDR[0]="164.11.7.14"
- NETMASK[0]="255.255.255.0"
- USE_DHCP[0]=""
- DHCP_HOSTNAME[0]=""
- # Config information for eth1:
- IPADDR[1]="164.11.7.14"
- NETMASK[1]="255.255.255.0"
- USE_DHCP[1]=""
- DHCP_HOSTNAME[1]=""
- # Config information for eth2:
- IPADDR[2]="164.11.7.14"
- NETMASK[2]="255.255.255.0"
- USE_DHCP[2]=""
- DHCP_HOSTNAME[2]=""
- # Config information for eth3:
- IPADDR[3]="164.11.7.14"
- NETMASK[3]="255.255.255.0"
- USE_DHCP[3]=""
- DHCP_HOSTNAME[3]=""
- # Default gateway IP address:
- GATEWAY="164.11.7.200"
- # Change this to "yes" for debugging output to stdout. Unfortunately,
- # /sbin/hotplug seems to disable stdout so you'll only see debugging output
- # when rc.inet1 is called directly.
- DEBUG_ETH_UP="no"
- ## Example config information for wlan0. Uncomment the lines you need and fill
- ## in your info. (You may not need all of these for your wireless network)
- #IFNAME[4]="wlan0"
- #IPADDR[4]=""
- #NETMASK[4]=""
- #USE_DHCP[4]="yes"
- #DHCP_HOSTNAME[4]="icculus-wireless"
- #DHCP_KEEPRESOLV[4]="yes"
- #DHCP_KEEPNTP[4]="yes"
- #DHCP_KEEPGW[4]="yes"
- #DHCP_IPADDR[4]=""
- #WLAN_ESSID[4]=BARRIER05
- #WLAN_MODE[4]=Managed
- ##WLAN_RATE[4]="54M auto"
- ##WLAN_CHANNEL[4]="auto"
- ##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
- ##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
- [7m--More--(54%)[27m
- [Kroot@jamie:/etc/rc.d# pico more rc.inet1.confe[P[P[P[Pp rc.inet1.confi rc.inet1.confc rc.inet1.confo rc.inet1.conf
- [1;1H[J[7m UW PICO 5.04 New Buffer [27m[63;1H[K[64;1H[K[63;1H[7m^[27m[7mG[27m Get Help [7m^[27m[7mO[27m WriteOut [7m^[27m[7mR[27m Read File [7m^[27m[7mY[27m Prev Pg [7m^[27m[7mK[27m Cut Text [7m^[27m[7mC[27m Cur Pos [K[64;1H[7m^[27m[7mX[27m Exit [7m^[27m[7mJ[27m Justify [7m^[27m[7mW[27m Where is [7m^[27m[7mV[27m Next Pg [7m^[27m[7mU[27m UnCut Text [7m^[27m[7mT[27m To Spell [K[3;1H[62;1H [62;73H[7m[ Reading file ][27m[62;1H [62;72H[7m[ Read 89 lines ][27m[1;77H[7mFile: rc.inet1.conf[27m[3;1H# /etc/rc.d/rc.inet1.conf[4;1H# This file contains the configuration settings for network interfaces.[5;1H# If USE_DHCP[interface] is set to "yes", this overrides any other settings.[6;1H# If you don't have an interface, leave the settings null ("").[8;1H# You can configure network interfaces other than eth0,eth1... by setting[9;1H# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset[10;1H# or empty, it is assumed you're configuring eth<interface>.[12;1H# Several other parameters are available, the end of this file contains a[13;1H# comprehensive set of examples.[15;1H# =============================================================================[17;1H# Config information for eth0:[18;1HIPADDR[0]="164.11.7.14"[19;1HNETMASK[0]="255.255.255.0"[20;1HUSE_DHCP[0]=""[21;1HDHCP_HOSTNAME[0]=""[23;1H# Config information for eth1:[24;1HIPADDR[1]="164.11.7.14"[25;1HNETMASK[1]="255.255.255.0"[26;1HUSE_DHCP[1]=""[27;1HDHCP_HOSTNAME[1]=""[29;1H# Config information for eth2:[30;1HIPADDR[2]="164.11.7.14"[31;1HNETMASK[2]="255.255.255.0"[32;1HUSE_DHCP[2]=""[33;1HDHCP_HOSTNAME[2]=""[35;1H# Config information for eth3:[36;1HIPADDR[3]="164.11.7.14"[37;1HNETMASK[3]="255.255.255.0"[38;1HUSE_DHCP[3]=""[39;1HDHCP_HOSTNAME[3]=""[41;1H# Default gateway IP address:[42;1HGATEWAY="164.11.7.200"[44;1H# Change this to "yes" for debugging output to stdout. Unfortunately,[45;1H# /sbin/hotplug seems to disable stdout so you'll only see debugging output[46;1H# when rc.inet1 is called directly.[47;1HDEBUG_ETH_UP="no"[49;1H## Example config information for wlan0. Uncomment the lines you need and fill[50;1H## in your info. (You may not need all of these for your wireless network)[51;1H#IFNAME[4]="wlan0"[52;1H#IPADDR[4]=""[53;1H#NETMASK[4]=""[54;1H#USE_DHCP[4]="yes"[55;1H#DHCP_HOSTNAME[4]="icculus-wireless"[56;1H#DHCP_KEEPRESOLV[4]="yes"[57;1H#DHCP_KEEPNTP[4]="yes"[58;1H#DHCP_KEEPGW[4]="yes"[59;1H#DHCP_IPADDR[4]=""[60;1H#WLAN_ESSID[4]=BARRIER05[61;1H#WLAN_MODE[4]=Managed[3;1H[4;1H[5;1H[6;1H[7;1H[8;1H[9;1H[10;1H[11;1H[12;1H[13;1H[14;1H[15;1H[16;1H[17;1H[18;1H[19;1H[20;1H[20;2H[19;2H[18;2H[18;3H[18;4H[18;5H[18;6H[18;7H[62;1H [18;8H[18;9H[18;10H[18;11H[18;12H[18;13H[18;14H[18;15H[18;16H[18;17H[18;18H[18;19H[18;20H[18;21H[18;22H[18;23H[1;73H[7mFile: rc.inet1.conf Modified[27m[18;22H" [18;22H3"[18;23H[19;23H[20;15H[21;20H[22;1H[23;23H[24;23H[25;23H[24;23H[24;22H" [24;22H3"[24;23H[25;23H[26;15H[27;20H[28;1H[29;23H[30;23H[31;23H[30;23H[30;22H" [30;22H3"[30;23H[31;23H[32;15H[33;20H[34;1H[35;23H[36;23H[37;23H[38;15H[37;23H[36;23H[36;22H" [36;22H3"[36;23H[62;1H [62;1H[7mFile Name to write : [62;22H[27m[63;28H[7mT[27m To Files [K[64;2H[7mC[27m Cancel [7mT[27m[7mA[27m[7mB[27m Complete [K[7m[62;22Hrc.inet1.conf [62;35H[27m[62;1H [62;74H[7m[ Writing... ][27m[62;1H [62;72H[7m[ Wrote 89 lines ][27m[1;73H[7m File: rc.inet1.conf [27m[63;1H[K[64;1H[K[63;1H[7m^[27m[7mG[27m Get Help [7m^[27m[7mO[27m WriteOut [7m^[27m[7mR[27m Read File [7m^[27m[7mY[27m Prev Pg [7m^[27m[7mK[27m Cut Text [7m^[27m[7mC[27m Cur Pos [K[64;1H[7m^[27m[7mX[27m Exit [7m^[27m[7mJ[27m Justify [7m^[27m[7mW[27m Where is [7m^[27m[7mV[27m Next Pg [7m^[27m[7mU[27m UnCut Text [7m^[27m[7mT[27m To Spell [K[36;23H[63;1H[K[64;1H[Kroot@jamie:/etc/rc.d# rc.inet1. restart
- bash: rc.inet1: command not found
- root@jamie:/etc/rc.d# cd /
- root@jamie:/# etc/rc.d/rc.inet1 restart
- root@jamie:/# ifcong fig
- eth2 Link encap:Ethernet HWaddr 00:1f:c6:ed:b1:4e
- inet addr:164.11.7.13 Bcast:164.11.7.255 Mask:255.255.255.0
- inet6 addr: fe80::21f:c6ff:feed:b14e/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:210 errors:0 dropped:0 overruns:0 frame:0
- TX packets:591 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:22080 (21.5 KiB) TX bytes:34072 (33.2 KiB)
- Interrupt:17
- eth3 Link encap:Ethernet HWaddr 00:50:04:2d:2b:7f
- inet addr:164.11.7.13 Bcast:164.11.7.255 Mask:255.255.255.0
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- Interrupt:16 Base address:0x8c00
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:299 errors:0 dropped:0 overruns:0 frame:0
- TX packets:299 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:47800 (46.6 KiB) TX bytes:47800 (46.6 KiB)
- root@jamie:/# exit
- Script done on Wed 07 Dec 2011 02:31:14 PM GMT
- ____________________________________________________
- Script started on Wed 07 Dec 2011 02:28:12 PM GMT
- root@jamie:/# ping kenny
- PING kenny.netlab.cems.uwe.ac.uk (164.11.222.200) 56(84) bytes of data.
- 64 bytes from cartman.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=1 ttl=63 time=0.459 ms
- 64 bytes from cartman.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=2 ttl=63 time=0.397 ms
- 64 bytes from kenny.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=3 ttl=63 time=0.379 ms
- ^C
- --- kenny.netlab.cems.uwe.ac.uk ping statistics ---
- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
- rtt min/avg/max/mdev = 0.379/0.411/0.459/0.041 ms
- root@jamie:/# exit
- Script done on Wed 07 Dec 2011 02:28:21 PM GMT
- ________________________________________________________-
- Script started on Wed 07 Dec 2011 02:39:21 PM GMT
- james@jamie:~$ logoutmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- james@jamie:~$ ls[Kmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- james@jamie:~$ logout[K[Kmount -y nfs t nfs kenny:/home/slackware mnt/slack -o nolock
- mount: only root can do that
- james@jamie:~$ cd /
- james@jamie:/$ ls
- bin dev home hs_err_pid2192.log hs_err_pid2225.log hs_err_pid2259.log lost+found mnt newIP proc sbin sys usr
- boot etc hs_err_pid2156.log hs_err_pid2208.log hs_err_pid2243.log lib media mountSlack opt root srv tmp var
- james@jamie:/$ sc cd home. /scripts
- james@jamie:/home/scripts$ ls
- mountingKenny newIP ping users
- james@jamie:/home/scripts$ mkdir folder
- mkdir: cannot create directory `folder': Permission denied
- james@jamie:/home/scripts$ exit
- Script done on Wed 07 Dec 2011 02:41:07 PM GMT
- _____________________________________________________
- Script started on Wed 07 Dec 2011 02:32:09 PM GMT
- root@jamie:/# cd /hom, e
- root@jamie:/home# ls
- ftp james julia lost+found scripts share xine-lib-1.1.17-i686-1.txz
- root@jamie:/home# cd james lscd /homeifconfigetc/rc.d/rc.inet1 restart
- root@jamie:/home# cd /[Krc.inet1 restartpico rc.inet1.confmore rc.inet1.conf[P[P[P[P[Pcd /etc/rc.d/[P[P[Pping kennycd /bin/etc/[P[P[P[Pifconfigping kenny[P[P[P[P[P[Pexit[Pgdmndmdshutdown nowls[Kcd /usr/[P[Pscripthutdown[P[P[P[P[Pftpping 164.11.7.11mount 164.11.7.11/:/share/ /mnt/tmp/
- root@jamie:/home# mount nfs 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- root@jamie:/home# ping 164.11.7.11[Kmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- root@jamie:/home# logout[K[Pinksxwmconfigchmod a+x /etc/rc.d/rc.nfsd && /etc/rc.d/rc.nfsd start
- root@jamie:/home# logout[Kibsspwhereis libsspslapt-get -i libssplinks[K[Pcd /mnt/slack[P[Pgnome-panelconftool-2 --shutdown[P[Pshutdownrescursive-unset /apps/panel--help[Krescursive-unset /apps/panel-rescursive-unset /apps/panel[Prescursive-unset /apps/panel-help[Krescursive-unset /apps/panelshutdown[K--shutdown
- root@jamie:/home# g[P[P[P[P[P[P[P[P[P[P[Pnome-panelcd /mnt/slack[Klinksslapt-get -i libssp[P[P[P[P[Pwhereis libssp[P[P[P[P[P[P[P[Plibsspogoutchmod a+x /etc/rc.d/rc.nfsd && /etc/rc.d/rc.nfsd start
- root@jamie:/home# xwmconfig[K[P[P[P[Plinksogoutmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- root@jamie:/home# [P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[Pping 164.11.7.11mount nfs 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
- root@jamie:/home# mount [P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P164.11.7.11/:/share/ /mnt/tmp/
- root@jamie:/home# [P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[P[Pping 164.11.7.11ftp[Kshutdown[P[Pcriptcd /usr/ls[Kshutdown nowgmd[Knddmexitping kenny[P[Pifconfigcd /bin/etc/[P[Pping kennycd /etc/rc.d/more rc.inet1.confpico rc.inet1.conf[P[Prc.inet1 restartcd /[Ketc/rc.d/rc.inet1 restart
- root@jamie:/home# ifconfig[Kcd /homels[K[Kdfd
- Filesystem 1K-blocks Used Available Use% Mounted on
- /dev/root 4917648 4287112 380728 92% /
- /dev/sda3 1968620 78900 1789716 5% /var
- /dev/sda4 8783824 346044 7991576 5% /home
- tmpfs 1027940 0 1027940 0% /dev/shm
- ^C
- root@jamie:/home# exit
- Script done on Wed 07 Dec 2011 02:33:26 PM GMT
- _______________
Add Comment
Please, Sign In to add comment