Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,210
» Latest member: greg22
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 164 online users. » 0 Member(s) | 160 Guest(s) Applebot, Bing, Google, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 357
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 82,985
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 37,810
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,825
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,289
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,234
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 112,905
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 51,588
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 41,786
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 41,441
|
|
|
Use Fedora 13 as my router? |
Posted by: rwheelock83 - 2010-10-29, 07:27 PM - Forum: How Do I?
- Replies (5)
|
 |
Right now, my linux box has both a Wireless b/g NIC (disabled) and a wired NIC connected to my Linksys wireless b/g router. All other machines in the house connect via the wireless router. Most are 802.11n capable, but because the router isn't, they're all limited to g speed. I can get a wireless b/g/n NIC for a lot less than a new wireless router, so that's got me wondering, how tough would it be to use the linux box in place of a wireless router?
I've figured out how to set up an ad-hoc wireless network, but haven't yet figured out how to route the internet connection to it. I'd imagine that would involve routing all but 192.168.X.X IP addresses to the wired NIC in one way or another. Also, I found and installed dnsmasq, "A lightweight DHCP/caching DNS server" in F13's package installer, but I haven't yet figured out how to configure it. Am I better off just manually configuring IP addresses?
I've heard it's possible to set up a domain controller (LDAP?) that Windows machines would authenticate against too... I'll have to start with sharing the internet connection first though :P
Thanks!
|
|
|
Set chown and chmod in external HDD |
Posted by: leonardo - 2010-10-29, 07:38 AM - Forum: How Do I?
- Replies (17)
|
 |
Hi at all,
I connected an external HDD. I need to set permissions, user and group. If I type commands chmod and chown I can not set them. How do I do?
If I type "fdisk -l" the result is:
Code: 255 heads, 63 sectors/track, 182401 cylinders
Unit = cilindri di 16065 * 512 = 8225280 byte
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465135448+ c W95 FAT32 (LBA)
Thankyou in advance for your help and sorry for my English
|
|
|
Add Ubuntu 10.04 to my Grub menu? |
Posted by: rwheelock83 - 2010-10-26, 09:50 AM - Forum: How Do I?
- Replies (5)
|
 |
Originally, I had 2 partitions/instances of Ubuntu 10.04 on my system. I then deleted what was the first installation/partition of Ubuntu in order to give Fedora 13 a try. Before installing Fedora, I verified that the Grub menu still came up and I could boot to the remaining Ubuntu OS.
After installing Fedora 13 on the space left from deleting the first Ubuntu partition, it initially boots up without even displaying a boot menu. I resolved that by changing timeout=10 in menu.lst. I located grub.cfg on the Ubuntu partition and found what I believe to be the pertinent information:
Code: menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set bd9e9e70-5b02-437b-b277-8ffc0f30fbcd
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=bd9e9e70-5b02-437b-b277-8ffc0f30fbcd ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
I realize the Fedora menu.lst is Grub while Ubuntu's grub.cfg is Grub2. I copied and pasted the above into menu.lst, and changed menuentry to title to follow the format for the Fedora entry. When I try to boot Ubuntu, it gives an error that the kernel must be loaded before initrd.
I assume the problem is resulting from the differences between Grub and Grub2. What else do I need to change to make this work?
Thanks!
|
|
|
Assigning permissions/ownership of a mounted network share? |
Posted by: rwheelock83 - 2010-10-26, 09:23 AM - Forum: How Do I?
- Replies (7)
|
 |
By Googling around a bit, I was able to learn enough to add this line to my fstab file in my Fedora 13 system:
Code: //192.168.1.101/e /mnt/e cifs auto,username=USER,password=*****,rw,umask=000,gid=500 0 0
Once I'm logged in, I notice (every time) that it has logged the following boot message:
Code: Mounting CIFS filesystems: mount error(101): Network is unreachable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[FAILED]
However, the share is mounted and I can access files on it.
The error log doesn't bother me as much as the fact that my user account has read-only access to the share. I've tried messing with the umask and/or uid tag, but no luck as of yet. What's the best way to give a specific user (or even all users if that makes it simpler) full access to the share?
Thanks!
|
|
|
Remote SSH Commands |
Posted by: rookiebeotch - 2010-10-25, 07:35 PM - Forum: Remote Access
- Replies (3)
|
 |
I am trying to remotely call a script file via ssh.
the server has a shell that is a custom program, lets call it shelly. There is also a script file on the server that needs to run when in shelly.
i can run the following after i ssh into the box, as root.
Code: exec /usr/local/bin/shelly < /my_folder/custom_script
that works fine.
I need to be able to embed this in ssh. I have done so like this. I have shared keys so no password needed, and it works.
Code: ssh user@server "exec /usr/local/bin/shelly < /my_folder/custom_script"
when i run this ssh command from my remote machine the commands are not executed from the script. So i run ssh in debug mode, and after a successful authentication i get a line that says:
Code: Ssh2channelSession/SSHCHSESSION.C : bad data
and the connection begins to quit/close.
I don't understand what "Bad Data" error means, and i do not have this SSHCHSESSION.C file on my server.
Is Bad Data mean there is something wrong with the command? or is it a permissions problem on the server?
Any Ideas?
|
|
|
Need more disk space on / for yum to update? |
Posted by: Neil - 2010-10-21, 12:10 PM - Forum: How Do I?
- Replies (5)
|
 |
Hi guys,
Whenever I try and update the server using yum, I get an error something like:
Code: Transaction Check Error:
installing package nss-3.12.8-1.el5.centos.i386 needs 4KB on the / filesystem
Now I fixed this before by removing old kernel's, but there are only 2 at the moment (the one in use and a new one - waiting for a good time to reboot!)
Disk usage:
Code: Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md1 4956160 4947480 0 100% /
/dev/md3 4956224 1508680 3191716 33% /var
/dev/md2 271835552 55636240 202168148 22% /home
/dev/md0 77649 18728 54912 26% /boot
tmpfs 3911088 0 3911088 0% /dev/shm
Contents of /
Code: ls / -al
drwxr-xr-x 24 root root 4096 Sep 30 11:05 .
drwxr-xr-x 24 root root 4096 Sep 30 11:05 ..
-rw-r--r-- 1 root root 0 May 18 09:41 .autofsck
-rw-r--r-- 1 root root 0 Jan 15 2010 .autorelabel
drwxr-xr-x 2 root root 4096 Oct 16 04:02 bin
drwxr-xr-x 5 root root 5120 Oct 15 11:18 boot
drwxr-xr-x 12 root root 4100 Oct 17 04:02 dev
drwxr-xr-x 82 root root 12288 Oct 21 04:02 etc
drwxr-xr-x 13 root root 4096 Oct 15 11:17 home
drwxr-xr-x 11 root root 4096 Oct 16 04:02 lib
drwxr-xr-x 7 root root 4096 Oct 16 04:02 lib64
drwx------ 2 root root 16384 Jan 15 2010 lost+found
drwxr-xr-x 2 root root 4096 Jan 26 2010 media
drwxr-xr-x 2 root root 0 Aug 18 02:00 misc
drwxr-xr-x 3 root root 4096 Jan 26 2010 mnt
drwxr-xr-x 2 root root 0 Aug 18 02:00 net
drwxr-xr-x 3 root root 4096 Jan 26 2010 opt
dr-xr-xr-x 437 root root 0 May 18 10:40 proc
drwxr-x--- 4 root root 4096 Oct 21 11:25 root
drwxr-xr-x 2 root root 12288 Oct 16 04:02 sbin
drwxr-xr-x 2 root root 4096 Jan 26 2010 selinux
drwxr-xr-x 2 root root 4096 Jan 26 2010 srv
drwxr-xr-x 11 root root 0 May 18 10:40 sys
drwxrwxrwt 3 root root 20480 Oct 21 11:33 tmp
drwxr-xr-x 14 root root 4096 May 17 14:05 usr
drwxr-xr-x 23 root root 4096 May 17 14:05 var
Is there a way I can give '/' more space safely? I'm not too sure I want to go delete stuff from there in case it has disastrous consequences...
Cheers
Neil
|
|
|
mirroring a webserver |
Posted by: anyweb - 2010-10-13, 05:36 PM - Forum: LAMP
- Replies (7)
|
 |
hi guys, i'd like to (if possible) mirror my webserver setup (centos 5.5) so that it's running simultaneously on one server in Europe and one in the U.S. and any changes that happen on one will be mirrored on the other
the setup is all via rpm, and it's apache, mysql, php, there are two websites with databases to consider (this and another) and that's about it,
is it doable but more importantly is it hard to do ??? any tips/ideas/guides ?
|
|
|
Dialing over wired connection |
Posted by: vikash - 2010-09-29, 02:15 PM - Forum: Network Problems
- Replies (4)
|
 |
I am quite new to ubuntu, and i am using ubuntu 10.04. My ISP provides me a cable (Lan) to connecto to the net, In windows i just used to dial over a connection and provide my username and password. How can i dial a connection in ubuntu. Dialing takes place over lan cable (Not telephone line). plz help and i dont use any kind of router or modem, the line comes directly from ISP's pole.
|
|
|
|