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
4 Pages V   1 2 3 > » 

cagey cretin
Posted on: Jan 12 2006, 08:52 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


QUOTE (ProgrammersUnlimited @ Jan 11 2006, 08:57 PM)
I've done a ton of searching on google, but have only come up with nothing. I have vsftpd, httpd and mysql that need to start with the machine, how do i set that up? I find a ton of info on how the inittab works, but not how to add my own stuff. What do I do? thanks.

Hi, I can't speak for all distros, but for a standard vanilla install for Redhat, Fedora Core, & WHEL, you would probably get results with (enter these as root from command line):

CODE
chkconfig vsftpd on
chkconfig httpd on
chkconfig mysqld on


Hope that helps.
  Forum: Technical Support · Post Preview: #25607 · Replies: 3 · Views: 2,853

cagey cretin
Posted on: Dec 23 2005, 11:22 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


QUOTE (as2100 @ Nov 3 2005, 11:51 PM)
As simple as this sounds, one problem that might be causing the issue is your home path:
CODE
home/david/: no such file or directory

The preceding '/' is necessary. You will want '/home/david'.

...

Did you try this?
  Forum: Technical Support · Post Preview: #25416 · Replies: 4 · Views: 3,358

cagey cretin
Posted on: Dec 23 2005, 10:43 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Please show us your partitions by running as root:

CODE
fdisk /dev/hda
command (m for help): p


This will print the partition table. Note which one is the Windows partition. You'll see which one it is. My output on this machine:
CODE
Command (m for help): p

Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        96    771088+   b  Win95 FAT32
/dev/hda2            97       224   1028160    5  Extended
/dev/hda3           225       734   4096575   83  Linux
/dev/hda4           735       779    361462+  82  Linux swap
/dev/hda5            97       224   1028128+   6  FAT16


Let's say I wanted to copy whatever files to C:Linux_files. that maps to my partition /dev/hda1 If I wanted to copy files to the windows partition, I would do the following.

Run as root:
CODE
mkdir /mnt/linux_to_save
mount /dev/hda1 /mnt/linux_to_save
mkdir /mnt/linux_to_save/Linux_files #Makes directory on windows called Linux_files
cp /path/to/your/files/to/copy  /mnt/linux_to_save/Linux_files # You've just copied files to that windows directory
umount /dev/hda1 /mnt/linux_to_save


Reboot into windows and check.
  Forum: Technical Support · Post Preview: #25415 · Replies: 2 · Views: 2,760

cagey cretin
Posted on: Dec 23 2005, 09:22 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Using a Redhat 9 install, I want to recompile the kernel without tcp/ip so I can use hogwash as an inline packet filter.

CODE
cd /usr/src/linux-2.4.20-8
make mrproper
make menuconfig
-------Uncheck TCP/IP in Networking Options
---exit
---save
make dep
make clean


To this point, no errors. But here:

CODE
make zImage


Ends with several make errors regarding Union:

/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:54 union has no member named af_inet
/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:61 union has no member named af_inet

Followed a suggestion at this page to get a non-redhat kernel. I try 2.4.20 and get many errors.

So I try to continue anyway:

CODE
mkinitrd /boot/noip.img


I then add the new image as an option in the bootloader, and when this option is picked, it boots but it boots with TCP/IP running, so I know it didn't work...


Any suggestions?

Thanks in advance, JW
  Forum: Technical Support · Post Preview: #25413 · Replies: 0 · Views: 2,018

cagey cretin
Posted on: Dec 2 2005, 08:13 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


QUOTE (slippage @ Dec 1 2005, 12:26 AM)
...
the last step is to select the option to enable java (in firefox) and then restart firefox. hopefully everything will have worked out. sorry my instructions are so vague, and i hope this helps

Ah!!!! That was the one step I missed!!! wacko.gif

Thanks!!
  Forum: Technical Support · Post Preview: #25174 · Replies: 4 · Views: 3,166

cagey cretin
Posted on: Nov 28 2005, 11:06 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


You could always zip a bunch of the files together into smaller batches which will 1) reduce the number of files in the ftp folder and 2) reduce data transfer (you are compressing the files).
  Forum: Technical Support · Post Preview: #25078 · Replies: 3 · Views: 2,782

cagey cretin
Posted on: Oct 8 2005, 07:50 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


I use openssh to connect with either a command line shell or sftp client. It works great:

http://sourceforge.net/project/showfiles.p...ckage_id=111688

There is also a gui with limited command line in winscp:

http://winscp.net/eng/index.php

I use this too.
  Forum: Technical Support · Post Preview: #24224 · Replies: 4 · Views: 4,063

cagey cretin
Posted on: Oct 8 2005, 07:37 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


It would help to know how your firewall is set up now, so you'll need to print it out here. You can print it (to the screen) with this command (assuming default location):

cat /etc/sysconfig/iptables

If there is a lot of data, you can print it out (to screen) thus:

cat /etc/sysconfig/iptables | more

Just press the space bar for the next 'page' or the enter key to scroll line-by-line.

If you are viewing from a telnet screen on a remote computer (ie you are not logged on directly but from another machine), you should be able to select, copy and paste the output. Right click the blue bar at the top of the windows telnet screen, then select edit mark/copy/paste.
  Forum: Technical Support · Post Preview: #24223 · Replies: 2 · Views: 3,419

cagey cretin
Posted on: Jul 13 2005, 06:15 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Thanks guys (assumption on my part).

@ Corey: I did try the YaST deal, and only found a gcclib entry but no clue as to how to install gcc. My experience with RedHat was that I could choose to install the compiler during installation, but you had to know where it is at (System Tools).

Thank you for the link to the Wiki (and thank you for taking the time to write it). I'll spend some time in depth there.

@ Termina: Thanks for the sudo hint. Please don't think ill of me, but I had a momentary chuckle thinking about an open-source software that denied root access...Even though I know I was wrong. wink.gif

Joe
  Forum: Technical Support · Post Preview: #23066 · Replies: 6 · Views: 4,630

cagey cretin
Posted on: Jul 12 2005, 06:35 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


...And I found a decent set of documentation for Ubuntu here:

http://www.frankandjacq.com/ubuntuguide/5....5.04/index.html
  Forum: Technical Support · Post Preview: #23056 · Replies: 6 · Views: 4,630

cagey cretin
Posted on: Jul 12 2005, 05:12 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Well yeah...

Weird. I never had the chance to log in as root, nor even create a root password...that is od...

I googled and found a few commands to update Ubuntu for a media player, but part of it helped me get gcc...

sudo get-apt

I have no idea what it is or how it works, and that kinda bothers me, but I guess I'll learn eventually. wink.gif And yeah, I was able to compile nmap from source, which was the whole point of the excercise.

That no "root thing" is weird though...

cc
  Forum: Technical Support · Post Preview: #23054 · Replies: 6 · Views: 4,630

cagey cretin
Posted on: Jul 12 2005, 04:38 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Wow, I found another one...I installed Ubuntu 5.04, and I was able to open USB, set up wireless, but no compiler! mad.gif What's the deal with that?

That's horrible!
  Forum: Technical Support · Post Preview: #23053 · Replies: 6 · Views: 4,630

cagey cretin
Posted on: Jul 12 2005, 10:29 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


This may show you what you have installed via rpm with a name that contains the string 'wvdial':

rpm -qa | grep wvdial
  Forum: Technical Support · Post Preview: #23047 · Replies: 2 · Views: 2,572

cagey cretin
Posted on: Jul 12 2005, 10:26 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


I tried mounting a USB pen drive that obviously redhat 9 saw, and succeeded once. I wrote down all commands as entered and this is what worked, but oince only. Never worked after that. No other USB devices ever used. Oh, and works fine on windows and suse...

CODE
### Check the /mnt directory for a mount point
### If flash not there, mkidr flash
ls /mnt
mkdir /mnt/flash
### there is the mount point
mount /dev/sda1 /mnt/flash
### that is the command to mount MY
### drive to the folder /mnt/flash
ls /mnt/flash
###Do what you  need
###
### Un mount the drive
umount /mnt/flash


Like I said, it worked, but only once.

For me, SuSE installed and allowed me to configure the wireless right away. Remember though, what ever OS you use, you have to know the ID and key (for example) of the network to be let on. You may also need to allow DHCP through your firewall.

Regards,

cc
  Forum: Technical Support · Post Preview: #23046 · Replies: 1 · Views: 2,038

cagey cretin
Posted on: Jul 12 2005, 08:40 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Heyya,


I installed SuSE on the laptop the other day, and wow! I can mount my USB drive and my wireless nic works (unlike RedHat 9)...

Anyway, I found myself needing to run nmap on a local box, and there is no nmap in Suse, so I download a tarball to compile and lo! there is no compiler!

I've spent the last couple of days trying to install GCC using rpms (suse is pirtported to support them), but when I run `rpm -qa | grep package_name`, it ain't there. I got no error message when I ran rpm -Uvh package_name, but I see no hide nor hair of it. More importantly, I can't run make.

So, how do you install a compiler without a compiler and without the ability to install an rpm? cool.gif

TIA,

cc
  Forum: Technical Support · Post Preview: #23043 · Replies: 6 · Views: 4,630

cagey cretin
Posted on: May 29 2005, 06:10 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Are you attempting this as other than root user? You may need to be root...
  Forum: Technical Support · Post Preview: #22575 · Replies: 1 · Views: 2,308

cagey cretin
Posted on: May 29 2005, 06:08 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


I *think* you mean that you want to boot into run level 5...You can edit your /etc/inittab file to start in runlevel 5:

Change the line:
id:3:initdefault:

To:
id:5:initdefault:

And you should be good to go. Back up your original just in case...

Below is my inittab file (RedHat 9):

CODE
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
  Forum: Technical Support · Post Preview: #22574 · Replies: 2 · Views: 3,851

cagey cretin
Posted on: May 29 2005, 05:58 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


My machine, RedHat 9, has it here:

/etc/log.d/scripts/services/init

I think that is what you meant...
  Forum: Technical Support · Post Preview: #22573 · Replies: 5 · Views: 4,051

cagey cretin
Posted on: May 29 2005, 05:51 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


I still have Joey's tutorial for this; I found it very clear and helpful.

Are you sure you have the correct path to cgi-bin in httpd.conf?
  Forum: Technical Support · Post Preview: #22572 · Replies: 2 · Views: 2,854

cagey cretin
Posted on: Apr 5 2005, 12:18 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


What happens when you run:

named-checkzone mydomain.com /var/named/named.hosts

Is the daemon running?

/etc/init.d/named start
( /etc/init.d/named stop )
  Forum: Technical Support · Post Preview: #21722 · Replies: 1 · Views: 2,443

cagey cretin
Posted on: Apr 3 2005, 02:28 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Well now. Seems the joke is on me.

Evidently, I must remove sendmail before using postfix. I have spent the better part of 2 days trying to get to the bottom of this. Finally, RedHat's HowTo states that sendmail must be removed. I've been through most of this book, and I find no mention of Sendmail removal.

Now that sendmail is gone, I can telnet using the ip of the ethernet card.

Maybe this will help someone else...

Joe
  Forum: Technical Support · Post Preview: #21679 · Replies: 4 · Views: 3,723

cagey cretin
Posted on: Apr 3 2005, 02:14 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Thanks for the reply Richard. I have a book published by SAMS (Blum's "Postfix") and on page 168, 'it is written' that by default postfix listens on all interfaces. Nice new fresh reinstall, and I looked at the main.cf. Infact, inet_interfaces = local host was the uncommented item (contrary to the book). I changed it to "all", restarted the daemon, the network service, and the system itself for good measure. No good. Matter of fact, I get the exact same message...

Thanks again for the reply.

Joe
  Forum: Technical Support · Post Preview: #21678 · Replies: 4 · Views: 3,723

cagey cretin
Posted on: Apr 3 2005, 09:23 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Std distro of RH 9, lokkit and iptables. I can telnet to localhost 25 but not *ip-address-of-eth0*. Connection always refused. I've tried setting lokkit to no firewall, and connection still refused. I've uninstalled iptables and lokkit. Connection still refused (yeah, that makes sense).

Postfix is running. I can send mail telnetting to localhost 25.

TIA
  Forum: Technical Support · Post Preview: #21665 · Replies: 4 · Views: 3,723

cagey cretin
Posted on: Apr 3 2005, 06:40 AM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


QUOTE (Jim @ Apr 2 2005, 11:26 PM)
Dude, cagey you posted while I was posting, and I have to say, thats not the way to go about this. Rarely rarely ever does fixing a problem in linux involve re-installing and starting over. There is always a better way. That is part of the reason why linux is better than windows, because you can fix things without re-installing. Plus you learn more if you fix it without re-installing. Honestly, I have never encountered a problem I couldn't solve without re-instaling and I have hit some pretty hard problems. Sorry cagey, I don't meen to step on you, but I wouldn't recomend that.

Sorry Jim; only way I could figure it out. I originally tried installing RedHat a year and a half ago, and I had issues similar to Jonathan: I went through the entire install, with a monitor, and when the system booted into level 5, I got no monitor. No clue why, no one could answer (I posted on numerous boards). I had checked every piece of hardware, and it all met the requirements put forth by RedHat. I finally just got a different display adapter and it finally worked.

Since I changed default run level to 3, I had no problem changing the file to reflect new monitor settings when I did get a new monitor. I suppose in hindsight, I could have used a boot disk to change the file settings, but hey, didn't happen.

Jonathan, glad you got it. I assumed since it was a new install, you wouldn't lose any info with a new install.
  Forum: Technical Support · Post Preview: #21663 · Replies: 9 · Views: 5,217

cagey cretin
Posted on: Apr 2 2005, 11:15 PM


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413


Here is how I solved that issue when I got a flat screen:

Start over and install the OS as before, *except* select text mode to start up this time, not the graphical user interface. When you go through the whole deal, your system will start in text mode (run level 3).
CODE
#You'll need to edit the contents of a file:
#
# But first, make a backup:
cp /etc/X11/XF86Config /etc/X11/XF86Config-backup
#
vi /etc/X11/XF86Config
#
# Find the section (using the up and down arrows) Identified by "Monitor"
#
# This is mine:
# Section "Monitor"
#    Identifier   "Monitor0"
#    VendorName   "Monitor Vendor"
#    ModelName    "Xerox XL-350"
#    DisplaySize  330    240       <=== This is what you probably need to edit
#    HorizSync    31.0 - 61.0         <=== This is what you probably need to edit
#    VertRefresh  56.0 - 76.0         <=== This is what you probably need to edit
#    Option     "dpms"
# EndSection
# Now, go into insert mode of vi editor by pressing the letter i
# Now, just change the values you wish to change
# save the document by pressing "ESC" and then entering ":" followed by "wq" -no quotes and case sensitive!!
# or quit the doc without saving: "ESC" and then entering ":" followed by "q!"
#
# Once you've edited and saved the file, go to run level 5 (GUI level) :-)
telinit 5
#
# Should work, assuming you have the right values and enter them correctly
# If it doesn't, reboot and edit the file again.

Regards, cc
  Forum: Technical Support · Post Preview: #21655 · Replies: 9 · Views: 5,217

4 Pages V   1 2 3 > » 

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: 16th October 2017 - 05:17 PM