Jump to content

cruesome

[05] MEMBER III
  • Posts

    282
  • Joined

  • Last visited

Posts posted by cruesome

  1. linux is linux. i have the habit to install just the basics, and install all the rest off the tarballs. packages out of the box are precompiled with the options desired by the packager, you may or may not need them.

  2. sinabi mo pa, dapat nga isulong ng Philippine government yan para lahat ng tao magka legal na OS. yun kasing linux project ng DOST walang nakakaalam...

     

    anyway, about getting ubuntu: punta ka sa site nila, ubuntu.org

     

    puwede ka mag-order ng mga cd for free kung di ka makapag download :lol:

    tried bayanihan distro last year. matabang :P Lorma Linux (the other pinoy flavor) tastes a little better :)

  3. Thanks pala sa samba input mo. Gave me ang insight on linux networking. Madugo talaga as compared to windows networking. Hehe. This time around I'm undergoing self-study on how to connect a client linux desktop to a server box so that the user's profiles/files can be access whichever computer a user would log in. Malabo ba? Hehe... need advice if tama ang direction ng study ko: correct ba that I'm reading on NIS?

    guess you wanted to have samba instead of windows server... google ka na lang for "samba pdc"

     

    for administration samba console could come in handy

  4. Hi linux guys.

     

    need help on configuring 2 NIC cards (again). How do I enable internet connection from a an internet-enabled network at the same time connecting a noninternet-enabled network? sort of a network bridge ba. and at the same time how do I make the users of the network access the linux box? thanks in advance...

     

    assumption: iptables and iproute2 installed and interfaces are up with proper ip assignment, and you have the following given

     

    INTERNET:

     

    interface: eth0

    ip add: 20x.xxx.xxx.xxx/29 (aka 255.255.255.254)

    gateway: 20x.xxx.xxx.xxy

     

     

    LAN:

     

    interface: eth1

    ip add: 192.168.0.1/24 (aka 255.255.255.0)

     

    lets play quickie!

     

    #!/bin/sh
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # levi masq script
    # july 19, 2006
    # cruesome ;-)
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # ISP variables here
    #
     WIF = "eth0"
     WIP = "20x.xxx.xxx.xxx"
     WIG = "20x.xxx.xxx.xxy"
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    
    # let's make sure we are route thru the right gateway (ISP) 
    ip route delete default
    ip route add default via ${WIG} dev ${WIF} src ${WIP}
    
    # iptables rules/firewall, choose only 1 option
    
    
    # MASQ OPTION 1:
    # in caseyou wanted everyone to go out of the internet
    iptables -t nat -A POSTROUTING -o ${WIF} -j MASQUERADE
    
    # MASQ OPTION 2: only specific ip will go out of the internet (ie, YOURPC, PROXYSERVERS, etc)
    iptables -t nat -A POSTROUTING -s <YOUR PC's IP ADD> -o ${WIF} -j MASQUERADE
    iptables -t nat -A POSTROUTING -s <YOUR PROXY's IP ADD> -o ${WIF} -j MASQUERADE
    
    
    # let's keep your box safe
    iptables -A INPUT -m state --state ESTABLISHED,RELATED -i ${WIF} -j ACCEPT
    iptables -A INPUT -i ${WIF} -j DROP
    
    # now we can turn on routing
    echo 1 > /proc/sys/net/ipv4/ip_forward

     

    have that code on an .sh file and dont forget to chmod +x

     

    hope that helps.

  5. @bukn0y: if you can identefy the required (dependency) rpms from the error messages, you can download that rpm and place it on the same directory as the other rpms you wish to install, then you may call rpm again as:

     

    rpm -Uvh *.rpm

     

    btw, yum is yummy :P

     

     

    Hey linux guys. Let's make this thread active again.

     

    Also, I need input on Linux in a corporate environment (I'm in a call center right now); primarily the DISADVANTAGES of using linux as the main OS.

    More power to OpenSource!

    for a while i thought this thread was purged :P

     

    seen and replied to your post regarding samba on the groups and chapters thread.

    over the years i have deployed linux as vpn server, file and print server, content filtering, and as a router with redundancy.

  6. PSBA '94 here, non-CPA (Cannot Pass Anymore maybe). initially started working for a university up north as a junior accountant, a few months later shifted gear in the IT line... now a network operations manager on a multi-national distribution group. i'm still hoping to take the board and grab the title as my throphy, di yata biro ang accountancy. but then it's gonna be tough :(

  7. hahahahaha! sayang, nagrestart na ako... :lol: di bale, before next restart, post ko ulet dito... err... pano palitan yung packets sa bytes? :huh:

    no idea pare, multiply mo na lang ng 1500 yung packets mo. yung bytes kasi defaults sa mga PPP connections, on xyco_g's link: i think he initiates the link to the internet via a ppp dialer, on your case, you're dsl modem (similarly, mine) initiates the link to the enternet and made available to your pc. :)

     

    heck, i'm no windows expert.

  8. parang ang liit nmn ng bytes recieved mo during those nine days..hindi kb nagdodownload? or even surfing?...

     

     

    oh i surf a lot! but i don't do downloads that much... eto o.. i was downloading movies sa oxxpass over the weekend ;)

     

    post-9857-1138578498.jpg

     

     

    ewan ko lng...nagtataka lng tlga kasi ako...skn kasi 12 mins plng..malaki na...??? oh well...

     

    wildnutzz counters are in packets, xyco_g's in bytes. each packet counter is of 1500 bytes (paki correct na lang po, i'm reffering to the mtu - maximum transmission unit)

     

    para hindi OT, i have my share of 24/7 pcs, mine's a linux box on micro atx form factor, maliit ang casing, 100w power supply, at naka bold - no cover :)

  9. ok ba ubuntu? what's it like? is it GUI? that's what i'm planning to run

     

    and to the guy who suggested open office, thanks man, downloaded it already. :thumbsupsmiley:

    GUI's are usually distro independent. i guess the best choises are gnome or kde. linus torvalds one said gnome is for dumbs and he prefers kde. i still love gnome. rpms pkgs tars and bz2s are available :P

     

    again, on my end, for servers i use slackware and often no gui, for a workstation its still slackware+drpline gnome and other gui apps i may require

     

    peace!

  10. Old school? Black album ng Metallica? Have you even heard of their four albums prior to this one?

     

    This is exactly what I was referring to about people who discovered Metallica with the Black album during their high school days and then considered themselves metalheads. Most of these posers haven't heard k*ll 'Em All, Ride the Lightning, Master of Puppets and And Justic For All and aren't aware that Metallica was an even better band than the one they heard on the Black album. If they did listen to those albums, they find it too heavy, too fast, too noisy, "magulo" for their tastes and just content themselves with the safe and easy-to-listen Black album. Worse, these posers hardy listen to any other heavy metal band. They find Slayer too satanic. Iron Maiden was just some '80s hair metal band to them. They only listen to Metallica, specifically the Black album, and they consider themselves metalheads.  Sheesh! It's the new millenium. Stop posing, posers! :thumbsdownsmiley: 

     

    Sphishoxx: Thanks for posting those lyrics and proving a good point. However, I'd like to point out that that song is not an original Metallica song. It's actually a medley of five Mercyful Fate songs - "Satan's Fall", "Curse of the Pharoahs", "Into the Coven", "A Corpse Without a Soul" and "Evil". It just goes to show that Metallica didn't have overt demonic lyrics in their own songs but were influenced by bands that were 'satanic'.

     

    master of puppets pa din ako :)

  11. i have my linux box open 24/7. and yes it is open, without the desktop cover. can't afford ako mag aircon 24/7 kaya tinanggal ko na lang yung cover. yung casing naman only has a 100watt powersupply so di gaano magastos sa kuryente :P

     

    firewall/NAT box ko to, but then i surf and download torrents off this box :lol:

  12. hehehe!Tol, punta ba kayo sa Rated R party sa nov 12? mukhang ok din yun ah!!!san group ba kayo member? pasali naman

    si serph full blooded RR na, medyo hectic sked ko kaya naunahan ako ni mokong, twice pa lang ako naka daong. yap punta ako sa 12.

     

    nung anniv, upstairs andun yung bicolano, tsaka Programmers/analysts/administrators/technician groups, which is part ako, Bondokers and Broadcasters andun din.

  13. Help with regards to Apache web server

     

    1.  Ive got the web surver running in my linux box already (Apache2; ubuntu).  I can access the index.html if I type the aliases or the loopback ip in MY browser.

     

    my problem is that I can't access the index.html file in the other computers on my local network.

     

    I have looked in the config files already but to no avail.  maybe Im missing something?

     

    do I need to have SAMBA?

     

    2.  my internet/network settings were created by automatic DHCP.  If I try to do a static IP protocol (where I type in 192.168.0.1 in the field for IP) and the gateway address is typed, why do I loose my internet access?

     

    help please  :cry:

    item 1 was well answered by dauphin24

     

    additional hint for item #2: have you checked your routing table after you change your ip address? along with the dhcp address you get from dhcpd, you also get the default route (or gateway).

     

    type in "ip route" when using dhcp and take note of the results, then do that again after you assign static add.

×
×
  • Create New...