From: Daniel47@teranews.com   
      
   unruh wrote:   
   > On 2013-05-02, Daniel47@teranews.com wrote:   
   >> Daniel47@teranews.com wrote:   
   >>> Jim Beard wrote:   
   >>>> On 05/01/2013 09:54 AM, Daniel47@teranews.com wrote:   
   >>>>> On this HP 6730b Laptop, I multi-boot   
   >>>>> Win7/MD2009.1/MD2010.1/MD2012/MG2 and have my Home in a separate   
   >>>>> mount (SD8) so that all the linux's can use it!   
   >>>>>   
   >>>>> Back on 16 Apr (my time), I started a thread called "Inode that   
   >>>>> were part of a corrupted orphan linked list found", and from   
   >>>>> those discussions, I fixed the problem and then I figured I'd   
   >>>>> re-install my MD2009 system, without touching my other   
   >>>>> installations or my Home set-up.   
   >>>>>   
   >>>>> I'm guessing I've done something wrong (see below) because,   
   >>>>> previously, to connect to the internet I'd run Network Centre and   
   >>>>> select my 3G Wireless connection then I'd open a terminal and   
   >>>>> run, as user, a script written by my ISP to actually make the   
   >>>>> connection. Since I fixed the previously mentioned problem, to   
   >>>>> run my ISP's script I've had to SU in the terminal to be able to   
   >>>>> run the script.   
   >>>>   
   >>>> ls -l /path/to/script   
   >>   
   >> ls -l /mnt/Games/Internet_Programs/Profile/Profile/Mail/mail.albury.net.au   
   >> -rwxrwxrwx 1 root root 4050618 2013-05-01 23:54 Inbox*   
   >   
   > That is not a path to the script unless you have seriously mislabeled   
   > it. It is a path to a mail folder. What command did you run previously   
   > to get connected. It surely was not Inbox.   
      
   Yeap, let me try again......   
      
   ls -l /daniel/ gives a full list, including   
      
   -rwxr-xr-x 1 daniel root 597 2010-04-04 21:20 ppp.sh*   
      
      
   After selecting my 3G USB dongle in Network Center, I run my ISP's   
   script, ppp.sh, which looks like this....   
   ____________________________________   
   #! /bin/sh   
      
   echo "copies my config and tries to start ppp"   
      
   sudo cp -pf /etc/sysconfig/network-scripts/chat-ppp0.rhw   
   /etc/sysconfig/network-scripts/chat-ppp0   
      
   echo "Trying to connect"   
   sudo pppd lock modem crtscts asyncmap 00000000 defaultroute usepeerdns   
   debug /dev/ttyUSB0 460800 ipparam ppp0 linkname ppp0 call ppp0 noauth ||   
   exit   
      
   echo "Waiting for connection..."   
   while [ -z "`grep 10.11.12.13 /etc/resolv.conf`" ]; do sleep 1; done   
      
   echo "Setting Nameserver"   
   sudo bash -c 'echo "nameserver 139.130.4.4" > /etc/resolv.conf'   
      
   read -p "Press enter to terminate session." kill   
      
   sudo killall pppd   
   ______________________________________   
      
   and the /etc/sysconfig/network-scripts/chat-ppp0.rhw that gets copied is ...   
   ______________________________________   
   ABORT BUSY   
   ABORT ERROR   
   ABORT 'NO CARRIER'   
   ABORT 'NO DIALTONE'   
   ABORT 'Invalid Login'   
   ABORT 'Login incorrect'   
   ABORT VOICE   
   ABORT 'NO ANSWER'   
   ABORT DELAYED   
   ABORT 'SIM PIN'   
   '' ATZ   
   OK-AT-OK 'AT+CPIN?'   
   OK-AT-OK 'AT+CMEE=2'   
   OK-AT-OK 'AT+CGDCONT=3,"IP",""'   
   OK-AT-OK 'AT+CGATT?'   
   OK 'ATDT*99***3#'   
   TIMEOUT 120   
   CONNECT ''   
   TIMEOUT 5   
   '~--' ''   
   _______________________________________   
      
   Both of these scripts were written by my ISP to get me connected to the   
   internet via my 3G USB dongle.   
      
      
      
   >>> I used to run the script just as User, so don't know why the permission   
   >>> might have changed.   
   >   
   > What was the name of the script you ran?   
      
   The script that I used to run as User is ppp.sh, as listed above, but I   
   now have to run it as root.   
      
   >>>>> *Current situation* When I re-installed MD2009, I had set it up   
   >>>>> so that I got the little screen to select a User and enter a   
   >>>>> password, but I think I just hit enter (or may have selected the   
   >>>>> User but I didn't enter the password, I think), I then went into   
   >>>>> MCC and stopped the need to select User and enter a password.   
   >>>>   
   >>>> IIRC, 2009 (and later) can be set up to log in one user automatically.   
   >>>> I do not remember the details.   
   >>>   
   >>> Yes, it can, but (as usual) I stuffed up!   
   >>>   
   >>>>> By not entering User name and Password, am I effectively now   
   >>>>> logged in as a "Guest" user?? And if so, is there a simple way to   
   >   
   > No.   
   > And yo should also get rid of that "guest" user anyway. It is a severe   
   > security hole.   
      
   Again my mistake, I don't have a "guest" log-in, but I was unsure if I   
   didn't enter my account's password, I thought I just got some sort of   
   "Guest" (i.e. limit permissions) user account.   
      
   >>>>> get me back as User, or do I re-install system again??   
      
      
      
   >>> Thanks for the very quick response, Jim. I'll boot into MD2009 and see   
   >>> if I can get responses for your other suggestions and post back in the   
   >>> morning.   
   >>>   
   >>> Daniel   
      
   Have I helped you guys to help me this time?!   
      
   Daniel   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|