Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
2 Pages V   1 2 >

dlab
Posted on: Jul 29 2004, 11:45 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


I was trying out port forwarding over ssh, and wanted to know if it were possible for it to bind to another interface other than localhost, I wanted to set up a secure way to access ports from my network "a" to another network "b". So I tried something simple like "ssh -l dlab -R 8080:google.com:80" and when you type "lynx localhost:8080" on the remote machine, it works, YAY. Except for one thing, it seems to bind to "localhost" instead of "*" like all other ports do. I figure that this is prolly for security reasons, but I really need it to bind to all interfaces rather than it trying to stick to localhost. Please tell me if this is possible, if not, then I guess I can find an alternative.

Note: I will readily play with source files if I have to.
  Forum: Technical Support · Post Preview: #16167 · Replies: 0 · Views: 1,614

dlab
Posted on: Jul 15 2004, 02:09 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


QUOTE (david_harvey @ Jul 14 2004, 10:18 PM)
Would it be possible to

Partition the hard drive
Install the iso
install VNC to gain access to win server remotley
format the linux partition
delete the partition

O.o: After you partition the hard drive, FreeBSD would be gone, and you don't have to format a partition before you delete it..
  Forum: Technical Support · Post Preview: #15588 · Replies: 3 · Views: 2,546

dlab
Posted on: Jul 15 2004, 01:30 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


There is no possible way to install an OS over ssh. You would have to restart somewhere in the process, and it is not possible. It may be if you made up some sort of bootloader with a weak linux kernel that loaded the installer into the memory and modified it for automation or control over ssh, but this would be a huge task.

Ohh, BTW, FreeBSD isn't a Linux Distro, FreeBSD is BSD. BSD != Linux. They are clones of UNIX, but I can guarantee you Linux is much easier than BSD for beginners. BSD is very paranoid, and secure, but hard to unserstand (figuing out lotta stuff for myself). If you wanted to use, lets say, Linux, you might want to try Debian. Its apt-get app is really nice and you can easily install XVnc for easier remote administration. I am sorry, but I am a strong believer in servers not relying on GUIs. Windows is a huge pile of sh*t and can shrivel up and die for all I care.

-- this post is the sole responsibility of me -- dlab -- and linuxhelp.ca doesn't take any resposibity for any of it.
^^^ Just in case of lame M$ people are browsing..

--edit--
made the post a bit nicer..
  Forum: Technical Support · Post Preview: #15587 · Replies: 3 · Views: 2,546

dlab
Posted on: Jul 15 2004, 01:17 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


none of them? maybe your PATH variable is screwed up also..

CODE
root@abyss:~# export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin


and then try the above again.

I think fbsd has vi, I know netbsd does..
  Forum: Technical Support · Post Preview: #15585 · Replies: 6 · Views: 5,619

dlab
Posted on: Jul 15 2004, 01:01 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


These are the steps I would have taken to get this working on mmy machine:

CODE
root@abyss:~# locate -u
(wait a few minutes)
root@abyss:~# locate libstdc++
/opt/kde/share/apps/kdevdoctreeview/tocs/libstdc++.toc
/opt/kde/share/apps/devdoctreeview/indices/libstdc++.index
/opt/openoffice/program/libstdc++.so
/opt/openoffice/program/libstdc++.so.5
/usr/doc/gcc-3.2.3/libstdc++-v3
/usr/doc/gcc-3.2.3/libstdc++-v3/README
/usr/doc/gcc-3.2.3/libstdc++-v3/faq.html
/usr/lib/libstdc++.la
/usr/lib/libstdc++.so
/usr/lib/libstdc++.a
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.3
/usr/i486-slackware-linux/lib/libstdc++-3-libc6.1-2-2.10.0.so
/usr/i486-slackware-linux/lib/libstdc++.so.2.7.2.8
/usr/i486-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
/usr/i486-slackware-linux/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/i486-slackware-linux/lib/libstdc++.so.4
/usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3
/usr/i486-slackware-linux/lib/libstdc++.so.2.8
/usr/i486-slackware-linux/lib/libstdc++.so.2.9
/usr/i486-slackware-linux/lib/libstdc++.so.2.7.2
/usr/i486-slackware-linux/lib/libstdc++.so.2.8.0
/usr/i486-slackware-linux/lib/libstdc++.so.2.9.0
/usr/i486-slackware-linux/lib/libstdc++.so.4.0.0
/usr/i486-slackware-linux/lib/libstdc++-libc6.1-1.so.2
/usr/i486-slackware-linux/lib/libstdc++-libc6.1-2.so.3
/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/locale/fr/LC_MESSAGES/libstdc++.
root@abyss:~# cd /etc
root@abyss:/etc# vi ld.so.conf
(should open a list of directories)
e.g.:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/local/lib/pkgconfig/

if you can't find the dir where libstdc++.so.4 is in the list of dirs in vi, type the letter i (to instert stuff in vi) scroll down to the bottom of the list and enter the directory there libstdc resides, for example, mine is /usr/i486-slackware-linux/lib/. After you are done, hit escape and type a colon ":" followed by "w" to write. then type "q" to quit. If you dont want to save the changes to the file, just type "q!" (with an !) and it should return you to your shell.
CODE
root@abyss:/etc# ldconfig
(wait a few minutes)


See if that fixes it. If it doesn't, I'm out..
  Forum: Technical Support · Post Preview: #15583 · Replies: 6 · Views: 5,619

dlab
Posted on: Jul 15 2004, 12:47 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Check to make sure the executable bit isn't set. Try "chmod a-x *.html *.htm" in the cgi-bin dir on a tty or in xterm or konsole or whatever terminal you use, and see if that will help.
  Forum: Technical Support · Post Preview: #15582 · Replies: 4 · Views: 3,500

dlab
Posted on: Jul 13 2004, 09:50 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


So you mean like SMB sharing then..
  Forum: Technical Support · Post Preview: #15528 · Replies: 11 · Views: 5,098

dlab
Posted on: Jul 12 2004, 04:22 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Webmin is a web-based administration proggy. If it is running, open up a browser at localhost:10000 and you should see a nice little webmin login screen.
  Forum: Technical Support · Post Preview: #15445 · Replies: 18 · Views: 10,163

dlab
Posted on: Jul 12 2004, 04:09 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


You mean Redhat Server Enterprise?
  Forum: Technical Support · Post Preview: #15443 · Replies: 11 · Views: 5,098

dlab
Posted on: Jun 22 2004, 03:36 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Are you sure you added:

CODE
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

to httpd.conf?

Also, if you want to use index.php and default.php, you'd have to add them to the DirectoryIndex thing in httpd.conf
e.g.:
CODE
DirectoryIndex index.html index.shtml index.htm index.php index.php3 default.php default.php3
  Forum: Technical Support · Post Preview: #14474 · Replies: 7 · Views: 3,535

dlab
Posted on: Jun 22 2004, 03:19 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Why would you MAC address come in place of your host name.. Are you sure its not an IPv6 addy?

ex: IPv6 loopback = 0:0:0:0:0:0:0:1
  Forum: Technical Support · Post Preview: #14473 · Replies: 2 · Views: 2,038

dlab
Posted on: Jun 19 2004, 01:31 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Then you should keep kicker open and have it hide somewhere.. There are others like KlearDock which is supposed to not use Kicker at all. I haven't tested it yet, but I'm hoping to hear weather or not it works. You can find it here: http://www.kde-apps.org/content/show.php?content=10057
  Forum: Technical Support · Post Preview: #14385 · Replies: 8 · Views: 4,250

dlab
Posted on: Jun 18 2004, 03:25 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


You also need to update all of the config files for your portals/boards.

eg

config.php
config.inc.php
settings.php
etc..
  Forum: Technical Support · Post Preview: #14365 · Replies: 4 · Views: 2,684

dlab
Posted on: Jun 18 2004, 03:01 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


do this in the shell:

mysqladmin -h localhost -u [username] -p password [new password]

You should be prompted for your old password
  Forum: Technical Support · Post Preview: #14362 · Replies: 4 · Views: 2,684

dlab
Posted on: Jun 18 2004, 02:46 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


I don't think so, maybe theres a plugin for it.
  Forum: Polls · Post Preview: #14361 · Replies: 16 · Views: 25,578

dlab
Posted on: Jun 17 2004, 05:26 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Could you give out some more info on the "000000000000000"? If it is in lilo, then you would see something like "L 00 00 00 00 00 00" or "L? 40 40 40 40 40", etc. Is there a L or something similar appended to the error code at boot?
  Forum: Technical Support · Post Preview: #14344 · Replies: 6 · Views: 3,746

dlab
Posted on: Jun 17 2004, 05:10 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Ha!! Everyone here has only experienced Kernel 2.6.x. I Have on the other hand been in 9! Muahahahaha!


J/K
  Forum: Polls · Post Preview: #14343 · Replies: 9 · Views: 18,585

dlab
Posted on: Jun 17 2004, 05:05 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


In the GUI I use Kate and in the console I use pico. I find both very easy to use and I really love the code folding and highlighting in Kate. When you first use Kate, it shows the basic layout with a few options set, but after I configure it with all of the plugins, its good enough for me..

[img]http://www.pvboredom.net/kate_sm.png[/img]

See where the line numbers skip between 24 and 26? That is my favorite feature. Sometimes, I'd get desparate enough to VNC into the GUI so I dont have to stick with the older colsole editors.. smile.gif
  Forum: Polls · Post Preview: #14342 · Replies: 16 · Views: 25,578

dlab
Posted on: Jun 17 2004, 04:46 PM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


You can set Konqueror up to block (most) popups.

Go to Settings > Configure Konqueror > On the left menu, click on Java & Javascript (Should be the 6th one down). Click on the "JavaScript" tab and there should be a group named "Global JavaScript Policies". There sould be a "Open new windows:" item with 4 radio objects (round things) next to it. All of the way to the right there is a radio labeled "Smart", click on the box on the immediate left to it and this should work for most Javascript popup ads.

Also, Konqueror is compliant with Netscape plugins. This means you should search the net for a popup ad filter for Netscape under Linux. Once you have downloaded and installed the Netscape plugin, open up Konqueror and go to Settings > Configure Konqueror and in the menu on your left, click on Plugins (2nd from the bottom with a Konqueror icon) and click on the "Scan for New Plugins" button and it should install the plugin from there.
  Forum: Polls · Post Preview: #14341 · Replies: 23 · Views: 49,639

dlab
Posted on: Jun 17 2004, 06:12 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


Wow, it looks like my server config was a little off. My ISP uses dynamic IPs so it changes every few hours to every few days and the passive IP was set to 4.46.48.x where now it is 4.46.43.x so it was denying the access. My FTP server is set up to be anal about its connections, so the slightest thing is different and it refuses the connection. Thanks for your help in reminding me about the server config.
  Forum: Technical Support · Post Preview: #14321 · Replies: 3 · Views: 2,536

dlab
Posted on: Jun 17 2004, 06:02 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


I think it is just Konqueror, as gFTP connects with no issues. The FTP server I am connecting to is Windows 2000 Pro running Serv-U FTP server and is for private use, so I am not worried about other clients connecting through firewalls. Ill just use gFTP until I can figure out a way to fix Konqueror. The reason I asked is I didn't know if Konqueror looks something up in /etc/hosts or similar to get the local IP. Oh well. Thanks Anyway
  Forum: Technical Support · Post Preview: #14320 · Replies: 3 · Views: 2,536

dlab
Posted on: Jun 17 2004, 05:43 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


There is no real way to prevent people from viewing the source of your page. There are methods like obfuscating the HTML using Javascript, but this restricts the number of browsers that can view it. Also, if someone tries hard enough, you can unobfuscate it in a matter of seconds using its own decoder. eg:

Source of an obfuscated page:
CODE
<html>
<head>
<script language="Javascript" type="text/javascript">
var html;
html = "%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3ETest%20Page%3C/title%3E%0A%3C/head%3E%0A%3Cbody
%3E%0A%3Ccenter%3EThis%20HTML%20is%20obufiscated%21%3C/center%3E%0A%3C/body%3E%0A%3C/html%3E";
document.write(unescape(html));
</script>
</head>
<body>
</body>
</html>


Simple change to give you the HTML:

CODE
<html>
<head>
</head>
<body>
<a id="source" name="source"></a>
<script language="javascript" type="text/javascript" defer>
var html;
html = "%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3ETest%20Page%3C/title%3E%0A%3C/head%3E%0A%3Cbody
%3E%0A%3Ccenter%3EThis%20HTML%20is%20obufiscated%21%3C/center%3E%0A%3C/body%3E%0A%3C/html%3E";
document.all.source.innerText = unescape(html);
</script>
</body>
</html>


If you do this, you will get something like :

CODE
<html> <head> <title>Test Page</title> </head> <body> <center>This HTML is obufiscated!</center> </body> </html>  


If you do get desparate enough, there is a PHP obfuscater that encodes pages that are dynamic so you don't have to stick with static html called IonCube (http://www.ioncube.com/html_encoder.php). Its a PHP mod where you include the PHP encoder and it obfuscates all of the HTML outputted by it.

Think I have said "obfscate" enough?
  Forum: General Discussion · Post Preview: #14318 · Replies: 5 · Views: 4,588

dlab
Posted on: Jun 17 2004, 03:05 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


If nothing comes up for kwrite of anything else, open up xterm in the gui and type :
/opt/kde/bin/kwrite&

this will launch kwrite in the BG and kwrite will dump any debug info into stdout. I have found that usually if kde runs out of memory, it starts killing apps. For example I was compiling a proggy in konsole on my older laptop with 96 megs of ram when stuff like kicker started disappearing. If stuff doesn't come up at all, it doesn't sound like a ram issue.
  Forum: Technical Support · Post Preview: #14316 · Replies: 12 · Views: 5,498

dlab
Posted on: Jun 17 2004, 02:57 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


QUOTE (lest0039 @ Jun 15 2004, 09:45 PM)
you need it edit your /etc/inittab file, change the line

id:3:initdefault:
to
id:5:initdefault:

you can do this from the text promt, or if you want, you can run the command startx to get a graphical interface, eitherway, ounce you make the change it will boot into graphical from then on.

Under slackware, there is no runlevel 5 and the GUI mode is under runlevel 4.
  Forum: Technical Support · Post Preview: #14315 · Replies: 2 · Views: 2,054

dlab
Posted on: Jun 17 2004, 02:44 AM


Grub-er
**

Group: Members
Posts: 30
Joined: 16-June 04
From: California, USA
Member No.: 3,175


I think the autosuspend is controlled by your BIOS, and you'd have to disable it there. Apmd just reports on this info and it can execute a command when something happens.
  Forum: Technical Support · Post Preview: #14314 · Replies: 2 · Views: 1,902

2 Pages V   1 2 >

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 19th November 2017 - 07:27 PM