Guest User

Untitled

a guest
Apr 22nd, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.79 KB | None | 0 0
  1. Script started on Wed 07 Dec 2011 02:36:13 PM GMT
  2. root@jamie:/# lscd slacklscd /mntls /mnt/slackmount -nfs kenny:/home/slackware /mnt/slack -o nolock--nfs kenny:/home/slackware /mnt/slack -o nolock
  3. root@jamie:/# mount -t-nfs kenny:/home/slackware /mnt/slack -o nolock
  4. root@jamie:/# mount -t -nfs kenny:/home/slackware /mnt/slack -o nolock
  5. root@jamie:/# mount -t -nfs kenny:/home/slackware /mnt/slack -o nolock
  6. root@jamie:/# mount -t nfs kenny:/home/slackware /mnt/slack -o nolock
  7. root@jamie:/# lscd slacklscd /mntls /mnt/slack
  8. slackware-11 slackware-12.1 slackware-13.1 slackware-13.37
  9. root@jamie:/# exit
  10.  
  11. Script done on Wed 07 Dec 2011 02:36:35 PM GMT
  12.  
  13.  
  14. ___________________________________________________
  15.  
  16. Script started on Wed 07 Dec 2011 02:28:54 PM GMT
  17. root@jamie:/# cd /bin   etc/rd.c/    c.d/
  18. root@jamie:/etc/rc.d# more rc.inet.conf1.conf.conf
  19. # /etc/rc.d/rc.inet1.conf
  20. # This file contains the configuration settings for network interfaces.
  21. # If USE_DHCP[interface] is set to "yes", this overrides any other settings.
  22. # If you don't have an interface, leave the settings null ("").
  23.  
  24. # You can configure network interfaces other than eth0,eth1... by setting
  25. # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
  26. # or empty, it is assumed you're configuring eth<interface>.
  27.  
  28. # Several other parameters are available, the end of this file contains a
  29. # comprehensive set of examples.
  30.  
  31. # =============================================================================
  32.  
  33. # Config information for eth0:
  34. IPADDR[0]="164.11.7.14"
  35. NETMASK[0]="255.255.255.0"
  36. USE_DHCP[0]=""
  37. DHCP_HOSTNAME[0]=""
  38.  
  39. # Config information for eth1:
  40. IPADDR[1]="164.11.7.14"
  41. NETMASK[1]="255.255.255.0"
  42. USE_DHCP[1]=""
  43. DHCP_HOSTNAME[1]=""
  44.  
  45. # Config information for eth2:
  46. IPADDR[2]="164.11.7.14"
  47. NETMASK[2]="255.255.255.0"
  48. USE_DHCP[2]=""
  49. DHCP_HOSTNAME[2]=""
  50.  
  51. # Config information for eth3:
  52. IPADDR[3]="164.11.7.14"
  53. NETMASK[3]="255.255.255.0"
  54. USE_DHCP[3]=""
  55. DHCP_HOSTNAME[3]=""
  56.  
  57. # Default gateway IP address:
  58. GATEWAY="164.11.7.200"
  59.  
  60. # Change this to "yes" for debugging output to stdout. Unfortunately,
  61. # /sbin/hotplug seems to disable stdout so you'll only see debugging output
  62. # when rc.inet1 is called directly.
  63. DEBUG_ETH_UP="no"
  64.  
  65. ## Example config information for wlan0. Uncomment the lines you need and fill
  66. ## in your info. (You may not need all of these for your wireless network)
  67. #IFNAME[4]="wlan0"
  68. #IPADDR[4]=""
  69. #NETMASK[4]=""
  70. #USE_DHCP[4]="yes"
  71. #DHCP_HOSTNAME[4]="icculus-wireless"
  72. #DHCP_KEEPRESOLV[4]="yes"
  73. #DHCP_KEEPNTP[4]="yes"
  74. #DHCP_KEEPGW[4]="yes"
  75. #DHCP_IPADDR[4]=""
  76. #WLAN_ESSID[4]=BARRIER05
  77. #WLAN_MODE[4]=Managed
  78. ##WLAN_RATE[4]="54M auto"
  79. ##WLAN_CHANNEL[4]="auto"
  80. ##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
  81. ##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
  82. --More--(54%)
  83. root@jamie:/etc/rc.d# pico more rc.inet1.confep rc.inet1.confi rc.inet1.confc rc.inet1.confo rc.inet1.conf
  84.  UW PICO 5.04 New Buffer ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell  [ Reading file ] [ Read 89 lines ]File: rc.inet1.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 File: rc.inet1.conf Modified" 3"" 3"" 3"" 3" File Name to write : T To Files C Cancel TAB Complete rc.inet1.conf  [ Writing... ] [ Wrote 89 lines ] File: rc.inet1.conf ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text ^T To Spell root@jamie:/etc/rc.d# rc.inet1.  restart
  85. bash: rc.inet1: command not found
  86. root@jamie:/etc/rc.d# cd /
  87. root@jamie:/# etc/rc.d/rc.inet1 restart
  88. root@jamie:/# ifcong fig
  89. eth2 Link encap:Ethernet HWaddr 00:1f:c6:ed:b1:4e
  90. inet addr:164.11.7.13 Bcast:164.11.7.255 Mask:255.255.255.0
  91. inet6 addr: fe80::21f:c6ff:feed:b14e/64 Scope:Link
  92. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  93. RX packets:210 errors:0 dropped:0 overruns:0 frame:0
  94. TX packets:591 errors:0 dropped:0 overruns:0 carrier:0
  95. collisions:0 txqueuelen:1000
  96. RX bytes:22080 (21.5 KiB) TX bytes:34072 (33.2 KiB)
  97. Interrupt:17
  98.  
  99. eth3 Link encap:Ethernet HWaddr 00:50:04:2d:2b:7f
  100. inet addr:164.11.7.13 Bcast:164.11.7.255 Mask:255.255.255.0
  101. UP BROADCAST MULTICAST MTU:1500 Metric:1
  102. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  103. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  104. collisions:0 txqueuelen:1000
  105. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  106. Interrupt:16 Base address:0x8c00
  107.  
  108. lo Link encap:Local Loopback
  109. inet addr:127.0.0.1 Mask:255.0.0.0
  110. inet6 addr: ::1/128 Scope:Host
  111. UP LOOPBACK RUNNING MTU:16436 Metric:1
  112. RX packets:299 errors:0 dropped:0 overruns:0 frame:0
  113. TX packets:299 errors:0 dropped:0 overruns:0 carrier:0
  114. collisions:0 txqueuelen:0
  115. RX bytes:47800 (46.6 KiB) TX bytes:47800 (46.6 KiB)
  116.  
  117. root@jamie:/# exit
  118.  
  119. Script done on Wed 07 Dec 2011 02:31:14 PM GMT
  120.  
  121. ____________________________________________________
  122.  
  123. Script started on Wed 07 Dec 2011 02:28:12 PM GMT
  124. root@jamie:/# ping kenny
  125. PING kenny.netlab.cems.uwe.ac.uk (164.11.222.200) 56(84) bytes of data.
  126. 64 bytes from cartman.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=1 ttl=63 time=0.459 ms
  127. 64 bytes from cartman.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=2 ttl=63 time=0.397 ms
  128. 64 bytes from kenny.netlab.cems.uwe.ac.uk (164.11.222.200): icmp_req=3 ttl=63 time=0.379 ms
  129. ^C
  130. --- kenny.netlab.cems.uwe.ac.uk ping statistics ---
  131. 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
  132. rtt min/avg/max/mdev = 0.379/0.411/0.459/0.041 ms
  133. root@jamie:/# exit
  134.  
  135. Script done on Wed 07 Dec 2011 02:28:21 PM GMT
  136.  
  137.  
  138.  
  139. ________________________________________________________-
  140.  
  141.  
  142. Script started on Wed 07 Dec 2011 02:39:21 PM GMT
  143. james@jamie:~$ logoutmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  144. james@jamie:~$ lsmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  145. james@jamie:~$ logoutmount -y nfs     t nfs kenny:/home/slackware mnt/slack -o nolock
  146. mount: only root can do that
  147. james@jamie:~$ cd /
  148. james@jamie:/$ ls
  149. bin dev home hs_err_pid2192.log hs_err_pid2225.log hs_err_pid2259.log lost+found mnt newIP proc sbin sys usr
  150. boot etc hs_err_pid2156.log hs_err_pid2208.log hs_err_pid2243.log lib media mountSlack opt root srv tmp var
  151. james@jamie:/$ sc  cd home. /scripts
  152. james@jamie:/home/scripts$ ls
  153. mountingKenny newIP ping users
  154. james@jamie:/home/scripts$ mkdir folder
  155. mkdir: cannot create directory `folder': Permission denied
  156. james@jamie:/home/scripts$ exit
  157.  
  158. Script done on Wed 07 Dec 2011 02:41:07 PM GMT
  159.  
  160.  
  161. _____________________________________________________
  162.  
  163.  
  164. Script started on Wed 07 Dec 2011 02:32:09 PM GMT
  165. root@jamie:/# cd /hom, e
  166. root@jamie:/home# ls
  167. ftp james julia lost+found scripts share xine-lib-1.1.17-i686-1.txz
  168. root@jamie:/home# cd james        lscd /homeifconfigetc/rc.d/rc.inet1 restart
  169. root@jamie:/home# cd /rc.inet1 restartpico rc.inet1.confmore rc.inet1.confcd /etc/rc.d/ping kennycd /bin/etc/ifconfigping kennyexitgdmndmdshutdown nowlscd /usr/scripthutdownftpping 164.11.7.11mount 164.11.7.11/:/share/ /mnt/tmp/
  170. root@jamie:/home# mount nfs 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  171. root@jamie:/home# ping 164.11.7.11mount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  172. root@jamie:/home# logoutinksxwmconfigchmod a+x /etc/rc.d/rc.nfsd && /etc/rc.d/rc.nfsd start
  173. root@jamie:/home# logoutibsspwhereis libsspslapt-get -i libssplinkscd /mnt/slackgnome-panelconftool-2 --shutdownshutdownrescursive-unset /apps/panel--helprescursive-unset /apps/panel-rescursive-unset /apps/panelrescursive-unset /apps/panel-helprescursive-unset /apps/panelshutdown--shutdown
  174. root@jamie:/home# gnome-panelcd /mnt/slacklinksslapt-get -i libsspwhereis libssplibsspogoutchmod a+x /etc/rc.d/rc.nfsd && /etc/rc.d/rc.nfsd start
  175. root@jamie:/home# xwmconfiglinksogoutmount 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  176. root@jamie:/home# ping 164.11.7.11mount nfs 164.11.7.11/:/share/ /mnt/tmp/ -o 'vers=3'
  177. root@jamie:/home# mount 164.11.7.11/:/share/ /mnt/tmp/
  178. root@jamie:/home# ping 164.11.7.11ftpshutdowncriptcd /usr/lsshutdown nowgmdnddmexitping kennyifconfigcd /bin/etc/ping kennycd /etc/rc.d/more rc.inet1.confpico rc.inet1.confrc.inet1 restartcd /etc/rc.d/rc.inet1 restart
  179. root@jamie:/home# ifconfigcd /homelsdfd 
  180. Filesystem 1K-blocks Used Available Use% Mounted on
  181. /dev/root 4917648 4287112 380728 92% /
  182. /dev/sda3 1968620 78900 1789716 5% /var
  183. /dev/sda4 8783824 346044 7991576 5% /home
  184. tmpfs 1027940 0 1027940 0% /dev/shm
  185. ^C
  186. root@jamie:/home# exit
  187.  
  188. Script done on Wed 07 Dec 2011 02:33:26 PM GMT
  189. _______________
Add Comment
Please, Sign In to add comment