LinuxQuestions.org latest posts

Syndicate content LinuxQuestions.org
LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.
Updated: 1 hour 16 min ago

Minimalist/Thin Distro for an Industrial Embedded PC

1 hour 32 min ago
Hello folks,

I'm relatively new to Linux in general and I need to build a complete system for an industrial embedded PC in a short time frame. What I'm curious about is if I would be better off starting from something like Linux From Scratch and add what I need from there; or to start with an already existing distro (like DSL or Slackware) and strip it down to what I need?

Thoughts? Ideas? Comments?


Install RHEL 64-bit Only?

1 hour 35 min ago
I noticed when I view the install.log on my RHEL 5.5 64-bit system, there are several files that are i386 or 32-bit and I was wondering if there is a way to force RHEL to install only x64 bit packages rather than mix? I am looking for a true 64-bit environment for testing...

Thanks for any help!


Jeckyl and Hyde netbook - Acer Aspire One 532H with Linux Mint 9

1 hour 37 min ago
I have two almost identical netbooks: a Gateway LT2115u and an Acer Aspire One 532H-2789. The Gateway is made by Acer and the hardware seems identical.

The problem I'm posting about is making the fans run properly and fixing touchpad edge scrolling. By accident I proved to myself that both problems can be resolved. I'm just not sure how to implement the solution. But here is how I realized they can be solved.

The Gateway netbook is like a reference point for what follows. I have Linux Mint 9 installed on the Gateway. Almost everything works out of the box. Touchpad edge scrolling was one thing that didn't, but the fix is easy. I had to add this line
Code: options psmouse proto=imps to /etc/modprobe.d/psmouse.conf

The only bugs/annoyances that remain are:
1. fan runs too much and laptop seems to run hot.
2. battery status indicator is flaky (e.g., it sometimes reports that battery is critically low when in fact it is not).

I cloned this install to the Acer AO 532H. After doing so, I noticed that the Acer ran cooler and the fan hardly came on. This was a big improvement.
However, the touchpad edge scrolling didn't work.

To fix the touchpad I decided to install Linux Mint 9 fresh to see what would happen. After the install, the touchpad edge scrolling worked out of the box. I didn't even have to do the fix I did on the Gateway.

However, now the laptop runs hot and the fan runs all the time, exactly like the Gateway.

Are there any experts out there who would be interested in helping me get the best of both worlds? I'd like the cool, quiet operation I had previously, but with a fully functioning touchpad. The first "test" proves that the Acer will run quiet and cool. And the fresh install shows that touchpad edge scrolling works out of the box with a fresh install.

I have full system info recorded from both installs. Who wants to help me figure this out?


Looking for file archiving software (for backups)

1 hour 47 min ago
I'm looking for ... or will develop if I cannot find any ... software that can keep archives of a tree of files. The tree of files is on a computer dedicated to backups. Various servers and desktop users periodically run rsync to update their slice of that tree of files. But that means old files are replaced. What I want to do is keep the old files around, with some limitations (such as a finite number of versions, finite age, etc). This would be similar to a repository like Subversion, except that data only comes in (there are no checkouts, though obviously a restore mechanism is needed). It would be like rolling backups, except the "rollover" would be on a per-file basis.

What I currently do, but want to get away from, is making a hardlink replica tree every few days with a command like "cp -al synctree/. archtree-for-today". But that eats up inodes very rapidly and is much harder to find things in. Making a file listing is very much slower this way, too.

Any ideas are welcome to consider.


cannot execute binary file

1 hour 54 min ago
HI,
i have installed UBUNTU 10.04 today. when i tried to run apache server with the command /opt/lampp/lampp start i was a problem of unsupportable 32-bits so i have installed ia32-libs to my ubuntu and it was worked. but after rebooting when i tried to reactivate apache server another error is shown
root@ubuntu:/home/idriss# /opt/lampp/lampp start
bash: /opt/lampp/lampp: cannot execute binary file
i need your help


LXer: Linux Mint 9 KDE Review and Screenshots

1 hour 58 min ago
Published at LXer:

In my opinion Linux Mint is one of the top 3 distributions out today for basic desktop usage. It features incredibly useful Mint-specific tools that make it the perfect distro for beginners. All flavors of Linux Mint usually come with a jaw dropping look and feel. I decided to look at both of these while using the recent release of Linux Mint 9 KDE and take some screenshots along the way.

Read More...


Enabling SNMP on Suse 10

2 hours 6 min ago
Hi there,

I need to enable SNMP on our Suse linux boxes, so that What's Up Gold can monitor them.

I need to add the community name, that I know, but where?


REL5.5 NIS installation/configuration fails

2 hours 6 min ago
Dear guys & gals,

I followed the nis tutorial listed below to install a nis server and a single nis client for now:

http://www.yolinux.com/TUTORIALS/NIS.html

Everything went well, except when I was setting up the nis server, the following step failed:

# /usr/lib/yp/ypinit -m
-bash: /usr/lib/yp/ypinit: No such file or directory


Everything else was OK on the nis server side.

And for the client, all the steps were performed, except for:

# service ypbind start
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]



Any NIS guru out there that knows what's going on and how to fix this?

Please help; many thanks in advance.


Good day!

2 hours 7 min ago
Hey I'm new to LQ but not the Linux world. I'm no expert, but I feel I have quite a bit of knowledge! :)


error installing libpcap

2 hours 10 min ago
Hi I'm new to Linux and am trying to install libpcap-1.1.1 on Fedora, the configure infos are
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking gcc version... 4
checking for inline... inline
checking for __attribute__... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for int8_t... yes
checking for u_int8_t... yes
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for int64_t... yes
checking for u_int64_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for net/pfvar.h... no
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for strerror... yes
checking for strlcpy... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking whether ether_hostton is declared... no
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking whether ether_hostton is declared... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking Linux kernel version... 2
checking for linux/wireless.h... yes
checking for nl_handle_alloc in -lnl... no
checking if if_packet.h has tpacket_stats defined... yes
checking if tpacket_auxdata struct has tp_vlan_tci member... yes
checking for getifaddrs... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for socklen_t... yes
checking for getaddrinfo... yes
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking whether we have DAG API headers... no (/usr/local/include)
checking whether we have the DAG API... no
checking whether we have Septel API... no
checking whether we have Myricom Sniffer API... no (/opt/snf)
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has the sa_len member... no
checking if sockaddr_storage struct exists... yes
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... no
ln: creating symbolic link `net': Operation not supported
checking for USB sniffing support... yes
configure: Device for USB sniffing is /dev/usbmon
checking linux/usbdevice_fs.h usability... yes
checking linux/usbdevice_fs.h presence... yes
checking for linux/usbdevice_fs.h... yes
checking if usbdevfs_ctrltransfer struct has bRequestType member... yes
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
configure: Bluetooth sniffing is not supported; install bluez-lib devel to enable it
checking for linux/can.h... yes
configure: CAN sniffing is supported
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcap-filter.manmisc
config.status: creating pcap-linktype.manmisc
config.status: creating pcap-savefile.manfile
config.status: creating pcap.3pcap
config.status: creating pcap_compile.3pcap
config.status: creating pcap_datalink.3pcap
config.status: creating pcap_dump_open.3pcap
config.status: creating pcap_list_datalinks.3pcap
config.status: creating pcap_open_dead.3pcap
config.status: creating pcap_open_offline.3pcap
config.status: creating config.h

and when I use make, the error comes
ln -s ./bpf/net/bpf_filter.c bpf_filter.c
ln: creating symbolic link `bpf_filter.c': Operation not supported
make: *** [bpf_filter.c] Error 1

What should I do to go on installing? Thank you


HTTP auth from outside + allow from local

2 hours 12 min ago
Been a while but have a few scripts that need to hit a website that's local to that network, but also a public site. Currently there is an .htaccess in that folder with this lockdown;


AuthType Basic
AuthName "Restricated"

Require valid-user

Now, can I break that somehow and say (here is my english translation)

<outside>
AuthType Basic
AuthName "Restricted"
Require valid-user
</outside>

<inside>
Allow from all
</inside>

Right now I try to curl from a local (or any) machine, this is what comes back;

<h1>Authentication required!</h1>
This server could not verify that you are authorized to access
the URL "/".
You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

So what's the easiest way around this to allow the local to hit the site... thanks.


A memory stick boot for a Sony VAIO?

2 hours 22 min ago
I have a Sony VAIO VGN-C1Z/B (three years old), and I was wondering if anyone has had any joy booting Linux from a memory card (one of those SanDisk 4gigs with the plug-in adapter). I don't really want to get rid of XP yet and was looking for a way to test Linux and see if it is for me, but didn't want to run it in an emulator as that depends on XP behaving itself. I have the card made bootable with that Peppermint Ice Linux but have realised nobody seems to think you can do this (or a USB boot) on a VAIO. Please can somebody explain if this is possible? My disk drive isn't reliable enough so this feels like my only option. Thanks in advance.


top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec

2 hours 25 min ago
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared object
Hi ,

I am not able to execute top and ps command. Am getting the below error.

"top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared object file: No such file or directory"

Please help me to solve this issue.

Thanks,
Ramesh


Wondering why more wireless cards aren't supported

2 hours 28 min ago
It seems like the wireless card is just about the only piece of hardware without much support in Linux. Is there any particular reason that they've been so overlooked? Like is it harder to write a driver for them or something?


top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec

2 hours 31 min ago
Hi ,

I am not able to execute top and ps command. Am getting the below error.

"top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared object file: No such file or directory"

Please help me to solve this issue.

Thanks,
Ramesh


Problems installing 13.1

3 hours 37 min ago
Hi all

I decided to give slackware a go again as i need to learn some new stuff. First problem is that on reboot following a full install from DVD it goes to a black screen - no cursor or anything. This has happenned in a VM and on a fresh partition - twice.

I installed everything when installing (except lilo), then created a boot usb stick and exited. On rebooting with usb stick in, it goes to the usb 'start' dialogue console but when i press enter it just goes to a black screen. Ctrl+Alt+Del will restart the pc but nothing else seems to do anything, it just hangs there, hdd spinning occasionally but nothing on screen.

I presume this is an X problem? I am running a toshiba laptop, intel integrated GM965 graphics chip.

Also, this has buggered up my MBR somehow, as even if I remove the usb and reboot the MBR grub no longer accesses the grub entries in my other partitions. The only way I can access my centos installation to write this is using a super grub disk. I definately did not install lilo when i installed slack so i don't know how this happenned.

Any help gratefully accepted.

Cheers

Spoov


vpn client on slackware

3 hours 43 min ago
I need to connect to a VPN at my work from my laptop running slackware 13.1. I've been given an IP, a username and password and told that I need a VPN client supporting IPSEC.

openvpn is out because it doesn't do IPSEC

vpnc didn't work, giving an invalid response message which I can't understand and it seems vpnc isn't actively developed anymore.

Any recommendations?


telnet: Unable to connect to remote host: No route to host

4 hours 2 min ago
Am troubled by the fact that telnet works only for port 25 but not 110. The troubling thing is how the telnet test for 110 would say there's no route when it's fine for port 25. Any idea?

[test@backup ~]$ telnet <IP v4> 25
Trying <IP v4>...
Connected to <IP v4> (<IP v4>).
Escape character is '^]'.
220 production.domain.com ESMTP Postfix
^]
telnet> quit
Connection closed.
[test@backup ~]$ telnet <IP v4> 110
Trying <IP v4>...
telnet: connect to address <IP v4>: No route to host
telnet: Unable to connect to remote host: No route to host


[Fvwm] Force EWMH window type

4 hours 5 min ago
Is there a way in fvwm to force a window to be of EWMH type "dock"? I'd really like to use the (very limited) xcompmgr for composite effects with fvwm and the only option to exclude some windows from having shadows is excluding "docks".

Unfortunately, FvwmIconBar (which I use for my "taskbar") doesn't have an option to identify itself as a dock ... and it looks VERY awkward with a shadow. (same problem for FvwmPager and xdaliclock, the only dock elements behaving like I want are stalonetray and gkrellm)


Certification Expired

4 hours 16 min ago
Hola,
I'm happey to being one of this forum members
I have some strange problem as my mail server is working fine, but really i think their is something error, when i issues this command:
Quote: tail /var/log/maillog
Jul 29 18:46:57 abakhiet postfix/smtp[5182]: certificate verification failed for out.tedata.net.eg:certificate has expired so, i need to know, what is this message ???
also my server is:
Quote: Linux Centos 5.5
Postfix mail server also, i need to ask, how can i don't making relay to my provider and be able sending mails with my server directly, but my provider is blocking the smtp, so i must send through his mail server :(
Thanks in advance ///