Jump to content

MottS

Members
  • Posts

    1017
  • Joined

  • Last visited

Posts posted by MottS

  1. A little how to for ya

     

    http://www.practicallynetworked.com/sharin...p_ics/index.htm

     

    (specially http://www.practicallynetworked.com/sharin...rverdialup.htm)

     

    Windows XP will be the gateway at 192.168.0.1. Just tell your Mandrake box to connect to this gateway. The Win XP box should gives you an IP (via the dhcp server) in the 192.168.0.x range. I did this about 2 years ago. Now this Win XP box has been replaced by Mandrake 9.0... but the principle is the same (NAT, DHCP, etc..)

     

    MOttS

  2. Hi turi

     

    What about for /etc/httpd/conf/vhosts/Vhosts.conf

    Port 80

    ServerRoot /etc/httpd

    ResourceConfig /dev/null

    AccessConfig /dev/null

     

    NameVirtualHost *

     

    <VirtualHost *>

          ServerName YourDomainName.com

          ServerAdmin Whatever@hotmail.com

          DocumentRoot /var/www/html/SpecialDirectory

    </VirtualHost>

     

    <VirtualHost *>

          ServerName *

          ServerAdmin Whatever@hotmail.com

          DocumentRoot /var/www/html

    </VirtualHost>

     

    Because according to THIS, first VirtualHost in config file is priorized. So Apache will check if the client typed 'YourDomainName.com' and direct to /var/www/html/SpecialDirectory and if the client typed something else (ie *) then it will direct to /var/www/html.

     

    Now, all your DIRECTORIES have to be READ and EXECUTABLE by 'others' but NOT WRITE. The FILES, however, only have to be READ by 'others'.

     

    [root@localhost vhosts]# ls -l /var/www/html/
    
    total 372
    
    drwxrwxr-x    2 root     root         4096 mar  4 00:38 Air Cargo/
    
    -rw-r--r--    1 root     root         2326 mar  4 00:38 apache_pb.gif
    
    drwxrwxr-x    2 root     root         4096 aoû 22 23:17 Bike/
    
    drwxrwxr-x    2 root     root         4096 avr  5 07:50 Buggy/
    
    -rw-r--r--    1 root     root        12891 mar  4 00:38 caffeine.gif
    
    drwxrwxr-x    4 root     root         4096 aoû 24 14:25 DepartManu/
    
    drwxrwxr-x    2 root     root         4096 aoû  1 00:15 History/
    
    -rw-r--r--    1 root     root         5881 avr 30 21:58 index.html
    
    drwxrwxr-x    8 root     root         4096 mar  4 00:38 MDKLinux/
    
    -rw-r--r--    1 root     root         6965 mar  4 00:38 MDKlinux.jpg
    
    -rw-r--r--    1 root     root         1478 mar  4 00:38 msfree.png
    
    -rw-r--r--    1 root     root       233573 aoû 15 11:54 Receipe_PostOffice.jpg
    
    -rw-r--r--    1 root     root        56859 aoû 26 22:15 T1000.png
    
    -rw-r--r--    1 root     root          998 aoû 26 22:15 Uptime.png
    
    -rw-r--r--    1 root     root         6340 mar  4 00:38 WelcomeBonjour.png

     

    Hope this helps

     

    MOttS

  3. I guess you are talking about .tar.gz (the source) here. In each packages, they tell you which other package is required (dependencies) and how to actually compile/install it. Usually, you only have to extract the content of the .tar.gz (just type 'tar xvfz PackageName.tar.gz') and read the INSTALL.txt and README.txt. The usuall procedure is

     

    ./configure (configure the source according to your system)

    make (compile the source. Ie create binaries)

    make install (install the binaries)

     

    Download one package and try! .. try to start with an easy app first though.

     

    MOttS

  4. I was just basically wondering if when I install mandrake 9.1 and I choose the "server" setup", if my win2k machine could communicate with it.

    When you choose this option, it installs a bunch of servers (Apache, SSHD, NFS, etc etc etc) so I don't thing you should do this. The only thing you should select is KDE (or Gnome), the desktop environment. Then, when you have rebooted, install SAMBA from RpmDrake (the software manager accessible from the mandrake control center). This server is the only one you need to get your win2k and your mandrake box to communicate. Once installed, you'll have to configure it however ... like setting your workgroup and your shares for example. When you are there just start another post and I'll be glad to help you.

     

    And I was also wondering if when a mandrake install is done as a "server" install, if the machine could still be used as a "normal" mandrake box...?

    Of course! .. but still, I don't suggest your to select too much stuff... just the KDE package and leave the other choices empty. This way you'll have a fast and clear box on which you'll build a strong server. But KDE will still be usable, exactly if Samba wouldn't be installed.

     

    MOttS

  5. It is XP pro, connection sharing is something I tried, but should my machine "see" hers as a proxy? or what?  

    Yes I realize that is a "windows" question, but I want email on my linux box :cry:    

    will .........keep .........tryin' .........8)

    Humm.. you have to set your WinXP box as a gateway (probably 192.168.1.1) and tell your Mandrake box to connect to it. You'll see those settings in the MCC->Network&Internet I guess. But proxy stuff isn't required here I promess...

     

    MOttS

  6. Why don't you enable internet connection sharing (ICS) on the Windows box? Since you and your "other half" are ethernet connected (can we say it?) I don't see why it wouldn't work. Well, if your "other half" run Win XP home then I doubt it but with XP Pro the ICS wizard works just right.

     

    MOttS

  7. Right now my wife's machine, machine 1 & machine 2 are all connected to a router which is connected to a dsl modem.  So all 3 boxes have broadband internet.

     

    Hi FenestraeNunquam (what a name!)

     

    Ok, you seems to worry a lot about security right? Well, your setup is already secure. Usually, routers have a built in firewall in the box. So pratically no one from the net can pass through it and adding a Linux box between you (machine 1 and 2) and the router will not make much differences. I suggest you to check your current setup by visiting those 2 websites. Do a portscan test and check if they find open ports... I'm sure you are already pretty secure.

     

    http://scan.sygatetech.com/prequickscan.html

    http://www.auditmypc.com/freescan/prefcan.asp

     

    Now, if you want machine 1 to serve files then no big deal .. just put Mandrake on this machine and install/configure Samba. I guess you'll have to configure your router such that trafic is allowed within the network (at least ports 137 to 139 udp/tcp). From there you will only have to check the NetworkNeiboohood on your Win boxes and you should see the Mandrake box. It's that easy.

     

    Hope this help

     

    MOttS

  8. HI KlutZ. Welcome to the board!

     

    Modem doc (PDF):

    http://www.usr.com/support/5610b/5610b-fil...10b-install.pdf

     

    According to this doc, the modem should be at /dev/ttyX, where X is some number. Now, you only have to start KPPP (I guess you are using KDE) and follow the instruction at page 6 of the PDF.

     

    If it does not work, you can try this page:

    http://www.usr.com/support/product-templat....asp?prod=5610b

    There is a RPM there .. don't know if it can help ..

     

    HTH

     

    MOttS

  9. Welcome on the forum Lagrosse. Do you know what 'Lagrosse' mean in French? .. 'TheBig' .. :lol:

     

    Running Mandy 8.1 on an old Packard Hell

    wow :P

     

    Seriously, if I remember well, 8.1 was using Bastille as a Firewall. However I don't remember how to play with Bastille at all man. I suggest you to get the latest version (ie 9.1). Install it and look in the Mandrake Control Center. There is a nice and easy wizard there to share the internet. It works for me.

     

    MOttS

  10. Your external connection is ppp0. So in /etc/shorewall/interfaces, you have to change

     

    net eth0 detect norfc1918,routefilter,dhcp

     

    for

     

    net ppp0 - norfc1918,routefilter

     

    NOTICE: I put a '-' instead of 'detect' and I removed 'dhcp' 8)

     

    You are doing good man .. !!

     

    MOttS

  11. If you have hotplug then usb-storage should be loaded automatically when you plug the device in the usb slot. Here are the modules loaded on my computer when I plug my camera in (uses usb-storage .. as your memory stick should):

     

    usb-storage           106544   0

    ide-cd                 27080   0  (autoclean)

    floppy                 45820   0  (autoclean)

    eeprom                  3668   0

    w83781d                20368   1

    i2c-amd756              3664   0  (unused)

    i2c-proc                6640   1  [eeprom w83781d]

    i2c-core               13224   0  [eeprom w83781d i2c-amd756 i2c-proc]

    nls_iso8859-1           2780   1  (autoclean)

    nls_cp437               4316   1  (autoclean)

    vfat                    9204   1  (autoclean)

    fat                    28952   0  (autoclean) [vfat]

    usb-ohci               17512   0  (unused)

    usbcore                54624   1  [usb-storage usb-ohci]

    ide-scsi                7568   0

    nvidia               1547840  10

    emu10k1                55464   0

    sound                  50708   0  [emu10k1]

    ac97_codec              9384   0  [emu10k1]

    soundcore               3300   7  [emu10k1 sound]

    8139too                14024   1

    mii                     2016   0  [8139too]

    sg                     25356   0  (autoclean) (unused)

    sr_mod                 15672   0  (autoclean) (unused)

    cdrom                  25824   0  (autoclean) [ide-cd sr_mod]

    sd_mod                 10252   0  (autoclean)

    scsi_mod               51572   5  (autoclean) [usb-storage ide-scsi sg sr_mod sd_mod]

     

    I _think_ the important ones are:

     

    scsi_mod

    sd_mod

    sr_mod

    sg

    usbcore

    usb-ohci

    usb-storage

    ide-scsi (maybe?)

     

    Just modprobe those you don't see when you type 'lsmod' .. maybe /dev/sdX will appear..

     

    MOTtS

  12. This is the DOC on the Shorewall website about standalone system (1 interface):

     

    http://shorewall.net/standalone.htm

     

    But personnaly I would just uninstall shorewall and iptable and then reinstall iptable... DONT REINSTALL SHOREWALL. If you just connect to the net time to time and you don't run any server, YOU DONT NEED A FIREWALL. There are lots of other targets outhere (windows machine + servers) so chances that you are attacked and they succeded are really low .. even impossible.

     

    MOttS

  13. Hi CrypticalCat, welcome to the forum!

     

    The CD-RW is detected as "scd0" and the CD-ROM as "hdc"

    This is the problem. Your write is set as scd0 (therefore scsi emulated) but your reader as hdc (which is ide). You have to enable scsi emulation for your reader if you want k3b to stop complaining. static wrote a nice tutoral on this forum about that .. here it is:

     

    http://www.mandrakeusers.org/viewtopic.php?t=6665

     

    You'll have to play a bit with /etc/lilo.conf and /etc/fstab to enable scsi emulation for hdc.

     

    Also: Can K3B store plain data (backups) on CD-RW's, drag and drop style?

    Yes. It works like NERO. You basically have to clic File=>NewProject=>NewDataProject and then drag&drop your data in the windows. As simple as that.

     

     

    Is the erase feature used to format CD-RW's?

    Yes and no. Yes if you want to erase ALL the content of a cd-rw. Otherwise, to create multi-session cdrw (I guess is what you wanna do) you have to clic File=>NewProject=>NewMixedModeProject OR create a data project and on the burning GUI, select the 'Setting' tab and clic the 'start multi-session' or 'continue multi-session'. When done clic 'Finish multi-session'.

     

    Hope this helps

     

    MOttS

  14. http://www.mandrakeusers.org/viewtopic.php...p?p=46183#46183

     

    If you wanna try another firewall you have to do:

     

    1) uninstall shorwall

    2) uninstall iptable

    3) reinstall iptable

    4) reinstall the desired firewall (in your case Guarddog)

     

    It is so because Shorwall modifies iptable when you first install it and it does not put back iptable at it's initial state when you uninstall it.

     

    It would be simpler to configure Shorewall correctly. Here is what I would have for a 1 interface system:

     

    net     ppp0    detect

    loc     eth0    detect

     

    fw      net     ACCEPT <--THIS LINE IS IMPORTANT!!!!!!!!!

    net     all     DROP

     

    net     Net     Internet zone

    loc     Local   Local

     

    By default you surely have something in /etc/shorewall/rules .. what is it? What is the output of 'ifconfig' when you are connected to the net and you think you could access it? Did you restart shorewall after playing with the config files (type 'service shorewall restart' as root) ?

     

    ...

     

    MOttS

  15. Did you create a partition with DiskDrake and format it? Upon this it should appear as /dev/hdX and you should be able to mount it using

     

    mount -t FileSystem /dev/hdX /mnt/Whatever

     

    or put an ently in fstab

     

    Are you sure the jumpers behind the drive are OK? Are your sure it's hdd and not hdb or hdc?

     

    MOttS

  16. Hi esage.

     

    The software installer install them all because they are dependencies for the app you want to install. In other words, the app you are trying to install requires those other programs in other to work. This is why the software installer install them all ..

     

    Hope this helps

     

    MOtTs

  17. On my system, when I plug my digital camera /dev/sda1 appears. I mount it manually though. The driver for such devices is usb-storage. You also have all the scsi emulating driver to be loaded (scsi_mod, sd_mod, sr_mod, ...). So maybe some modprobe will do ..

     

    Do you run hotplug?

     

    MOttS

  18. Heh, sorry for long delay... my 2nd monitor got 4x larger which made MottS's solution a lot more viable :). Twinview is now working using MottS's suggestion, thanks guys!

    Glad I could help! :)

     

    Now there's a new problem with fullscreen apps - some of them are nice and span just the one screen... and some of them are rather mean and span both screens! I've got about 4" of plastic and about 1' of wall between these screens, not to mention the size difference! Is there a solution (other than commenting out Option "TwinView" "1" that would clamp an app to a single screen? Thx!

    I don't use Twinview that much but as far as I can remember, all the apps I'm using were doing ok. I mean Xine was fullscreen on the TV and Konqueror fullscreen on the computer screen. Other than that I did not use a lots of apps while using Twinview. For Xine I just drag the windows to the TV area and then press 'F'. For Konqueror I press the button up right...

     

    MOttS

  19. Maybe you have problems with codec (manual install). What about an RPM?

    http://ozzzy.dyndns.org/mandrake/xine.html

     

    According to the Xine webpage, the svq3 codec is natively supported since 1-beta12... no need for codec. You could try that. Remove your current version, download a recent beta (or cvs) version and install it. Here is a website for RPMs (daily build):

     

    http://cambuca.ldhs.cetuc.puc-rio.br/xine/

     

    Good luck!

     

    MOttS

  20. Put them in /usr/lib/win32 or in your $HOME. If you put them in your $HOME you actually have to modify the path for codecs in /home/WhateverUser/.xine/SomeConfigFile (I don't remember the name). But make sure /usr/lib/win32 is empty prior to modity the codec path! Personnaly I would just put them in /usr/lib/win32 but that's just me ..

     

    MOttS

×
×
  • Create New...