FREESCO v0.3.2

New versions, modules, add-ons, etc., will be posted here.

Postby Lightning » Sat Jun 21, 2003 8:43 pm

When enableind crond and choosing to edit the crond.cfg there is an error mossage displayed.

: no such file or directory

This error does not effect the way it functions in any way other than to be annoying. It can just be ignored. It is now fixed, but will not be seen until the next version of FREESCO.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Mon Jun 23, 2003 4:33 pm

error during the backup command.

can not copy /boot/bin/*

The reason for this error in 032 is because by default. 032 does not have any files in that directory and therefor cannot copy things that are not there. Previous versions did have a couple of files in that directory.

You can either ignor the error or use

:>/boot/bin/blank

This will generate a blank file so the error does not come up during a backup.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Mon Jun 23, 2003 4:41 pm

Bug with the mv2hd command in "overwrite mode"

The problem is that previous versions of FREESCO 030 and 031 had two files in the /boot/bin directory. So when using the overwrite command it will leave those two files which will be used instead of the new ones that are now in the ramdrive. This is because the /boot/bin directory is first in all path statement so that it can over ride system files. To solve this problem you can just delete those files manually with

rm /boot/bin/dyndns
rm /boot/bin/connect

This will remove the old files and allow the new ones to be used instead. Only the dyndns script has been modified, so it is the most critical to remove the old copy of.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Wed Aug 20, 2003 6:21 pm

The rc_diald problems are solved by adding the patches-032-2 patch listed in the thread below

Two problems in rc_diald produce errors when it is started and one can cause connections to fail with certain ISP's.
Aug 14 03:22:37 - pppd[2005]: In file /etc/ppp/options.cua0: too few parameters for option 'name' <----************

The solution to this error is to

edit /rc/rc_diald

Find this code
Code: Select all
 cat > /etc/ppp/options.$modem<<-EOF
name $login
EOF

and change it to this
Code: Select all
cat > /etc/ppp/options.$modem<<-EOF
name "$login"
EOF

The second error is
Aug 14 03:18:53 - diald[1563]: Unknown option 'linkname'

The solution to this error is to also edit the rc_diald

edit /rc/rc_diald

find the word "linkname" and delete the entire line. This is an option for the newer version of pppd in FREESCO, however diald is a bit older and does not recognize the command and as this command is actually never used. It can be safely just removed from the script.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Sun Aug 24, 2003 3:01 am

Bug in the setup program. When adding a dialin ISP and using the "script" option. It will generate all of the "expect" and "recieve" questions. However later if you decide to edit the same ISP file. It will not show the first expect item. number 25. This does not mean that number 25 is not there, nor does it affect any other operations. You can even type in option 25 and edit it's value. However it is never displayed unless you do actually edit number 25. This bug is strictly an alignment problem with where that line is printed on the screen.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Sun Aug 31, 2003 6:27 pm

There is a problem with the control panel in the adduser function. This function was removed and the new useradd command was not implimented into the control panel.

This patch solves this problem as well as a few other small glitches and it also adds the full functionality of the useradd command into the control panel. This patch will install on floppy installs as well as hard drive installs.

Code: Select all
pkg  -i  http://www.freesco.net/patches/patches-032-1
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Mon Sep 15, 2003 11:01 pm

Problem with dialup links not timing out when there has been no internal Internet traffic. The primary cause of this problem is actually Internet attacks and the fact that FREESCO has not been using the filter.cfg file for controlling diald and filtering the unwanted packets to prevent the connection from dropping. This problem has been recently greastly increased with the latest viruses. This patch will correct this problem along with the above mentiond rc_diald issues. To install it use.

Code: Select all
pkg  -i  http://www.freesco.net/patches/patches-032-2
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Mon Sep 15, 2003 11:55 pm

A note on installing patches.

Patches need to be installed seperatly. These patches are not concurrent and only resolve the issues listed in the post that shows the patch. Also patches should be installed in order. Currently this is not a problem as the two patches are completely different and use different files. But sometime a newer patch will overwrite an older patch and then it could cause problems if not done correctly and in order.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Sat Sep 20, 2003 8:28 pm

There is a problem in the "useradd" command that happens when a new user is added without a home directory. The problem is that the / "root" directory will have the ownership of the new user as well as the exclusive read write execute permissions of the root directory will change to that single user. As the / directory is in the ramdisk a simple reboot will solve the problem after this has happened. However it can have effects on all kinds of other services until a reboot or manually reparing the damage with

chown root.root /
chmod 755 /

As this is a fairly serious problem that has been in all versions of the 03x series I have not decided on the patch method for this problem. However currently I am leaning towards a universal patch for all versions of the 03x series. Currently the above code will solve any current issues until the patch is released.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Sat Oct 04, 2003 12:01 am

The above mentioned useradd and useredit command can be repaired with patches-032-3. To install use

Code: Select all
pkg -i http://www.freesco.net/patches/patches-032-3


After this patch is installed it is recommended that any user that was previously added without a home directory be remade with the useredit command. This change creates a group directory for dialin ppp users in /home/ppp and for normal users in /home/user. These directories have full read write permissions to there own specific group.

This patch will install on hard drives as well as floppies if space permits. It will also install on FREESCO versions 030, 031, and 032

Regards,
Lewis
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Thu Oct 23, 2003 9:02 pm

There is a problem with file permissions when DHCPD renews leases, it rewrite the permissions in /etc/dhcpd.leases so that the DNS server is unable to read the file.

The solution:

edit /rc/rc_dhcpd
Code: Select all
str()


#anywhere in the str() section will work.
umask  22  /etc/dhcpd.leases

;;


Once this modification has been made use:

rc_dhcpd restart
rc_dns restart
sync
sync
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Sat Dec 13, 2003 2:22 pm

There is a problem in the rc_main script that allows the rc_masq file to be running twice concurrently at boot time. This problem only effects PPPoE and PPtP connections and only at bootup. In reality it is just a timing issue, because the rc_main script starts the rc_masq and at the same time durring bootup the ppp connection is also be initialized, so the rc_masq file is also called with the newip mode. This cause a corruption in the mask table and therefor the network doesn't work. So here is the solution for this problem for PPPoE and PPtP ethernet routers.

Place this code near the top of rc_main
Code: Select all
 
fn4() ?{ ps | sed -n '/\ ? ? ? ?rc_masq/P'; ?}
 



Place this code in the newip() section of the rc_main just above the line that starts rc_masq
Code: Select all
while [ "`fn4`" ]; do
 ? sleep 2
done
rc_masq $1
 

This code will delay the second running of the rc_masq so that it does not cause data corruption.

ADDED: For clarification the above "rc_masq $1" is just a reference poit as to where the lines above it should be added and it is not intended to be entered twice.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Wed Mar 10, 2004 10:27 pm

The patch-032-3 useradd repair breaks the useradd command in the control panel when trying to add a normal user. This bug can be fixed by editing the /wwa/cgi/adm.cgi script. The below code must be added into the script. This code add a number of lines into the existing code, just follow the matching code until there is a difference and then stop where the code matches again.
Code: Select all
 npass) read A
 eval `$E "$A" | sed 's/&/;/g;s/
//'`
 if [ "$user" -a "$user" != root ]; then
  if [ "$pass1" = "$pass2" ]; then
   if [ "`cat /etc/passwd | sed -n /^$user:/P`" ]; then
    cat >/tmp/tmp <<-!
    $pass1
    $pass2
    !
    cpage "</center><blockquote><blockquote><pre>`cat /tmp/tmp | passwd $user 2>/dev/null`</blockquote></blockquote></pre>"
# BEGIN NEW CODE
   elif [ "$amode" = n ]; then
    cat >/tmp/tmp <<-!
    $user
    $amode
    $udir
    $pass1
    $pass2
    !
    cpage "</center><blockquote><blockquote><pre>`cat /tmp/tmp | useradd 2>/dev/null`</blockquote></blockquote></pre>"
# END NEW CODE
   else
    cat >/tmp/tmp <<-!
    $user
    $amode
    $time
    $udir
    $pass1
    $pass2
    !
    cpage "</center><blockquote><blockquote><pre>`cat /tmp/tmp | useradd 2>/dev/null`</blockquote></blockquote></pre>"
   fi
   rm /tmp/tmp
   sync;sync
   exit

Also note that the above shown multiple lines that begin with "cpage" are in fact a long single line and this line runs all the way to the ending ". An example is cpage "bla bla". Also if this modification is attempted do not confuse a ' with a ` as there is a huge difference in the two in scripting.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Postby Lightning » Thu Jul 01, 2004 2:20 am

If you are reading this post and considering patchingf 032 then you should consider just installing 033 which includes these patches integrated into the system along with many more enhancements.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 3052
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to FREESCO Announcements

Who is online

Users browsing this forum: No registered users and 1 guest