I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
I have setup a VPS @ Strato with Linux Wheezy.Since I'am in the Netherlands I got a Dutch language package installed.I like to setup into englisch all the way.Via dpkg-reconfigure locales I have installed en_GB.UTF-8 UTF8 language packages and deïnstaled nl_NL.utf8
Generating locales (this might take a while)... en_GB.UTF-8... done Generation complete.
But a lot of the commands are still in Dutch like: h2458377:~# uitgelogd.And quite often I got: -su: warning: setlocale: LC_ALL: cannot change locale (nl_NL.utf8)
How do I get ripped off this error?Just working with/on the command line
I have debian latest stable and have been using a geforce gfx card which has now failed.I have removed the gfx card and activated the on board gfx in bios and I can boot to the grub screen.The onboard gfx is on my i5 4600.After I select debian from grub I end up with a blank black screen and a small cursor in top left hand corner but I cannot type anything with this cursor. From this screen I can only ctrl+alt+del for reboot or physically turn off the pc.I think this is a driver issue but wouldnt debian just use a default gfx driver automatically in this situation so I would at least get to a console or desktop? If this is the case what is the process to enable the required driver? via rescue disk?Mobo is gigabyte GA z87 hd3 and im wondering if this might be something to do with uefi or similar?
i want to change in configuration file of ftp server i.e.'vsftpd.conf' for download and upload by root user is enabled . so tail me what changes is occured in configuration file of "ftp server"
I've an asuspro (more precisely the p2520la version) notebook with the fn+f5, fn+f6 buttons that should change brightness of the screen. But they don't work. For volume it's ok (fn+f11/f12), and if I go in the system settings I c an change manually the brightness (I use kde so there is a bar with which change it). But when I'm outside and the screen brightness is low I found difficult to find the menu settings and the hardware buttons would be better.I've tried adding to the kernel the "acpi_osi=" command but doesn't work.
I looked into my shell 'profile' on my running lenny and copied the PS1 definition over to my [virtual] new squeeze machine, but astoundingly, the prompt does not change!
The prompt always remains to be like this:${debian_chroot:+($debian_chroot)}u@h:w$
This does definitively not stem from 'profile' and I cannot find, where it is defined and how I can override this. If I do it interactively, in a terminal [terminal running in Gnome], it works like expected. In that script, even if I use 'unset PS1',followed by PS1= ... / export PS1, it does not change,Someone with the knowledge and/or a good idea would be great!
I'm trying to change the background for GDM3, but nothing happens. I have edit /etc/gdm3/greeter.gconf-defaults and /usr/share/gdm/greeter-config/20_debian and then dpkg-reconfigure gdm3 and invoke-rc.d gdm3 reload, but it still has a horrible, green background colour.
I am running a Debian server, but I have a problem with the locales, as I need to use the Danish letters I tried using dpkg-reconfigure locales, but it do not change the LC_* and LANG*, but it is set to POSIX How can I change the locales to da_DK_UTF-8?
I'm using CFEngine 2.2.8 to configure a network of Debian servers, the servers have two interfaces eth0 and eth1, how can I configure cfagent to take as the default interface eth1? eth0 is the internal interface and eht1 is the one with the public IP, I need to define classes based on lists of public IPs and it would be really helpfull if I could use functions as IPRange that only consider IP in eth0 interface.
I have three monitors, two Dells and an older LG all native at 1920x1080@60Hz and only recently installed Debian on this setup.
The LG is detected as running at 59.93Hz instead of 60Hz and this discrepancy appears to drive up the temperatures in my GPU constantly, even on idle, and introduces severe stuttering in any kind of graphical application.
I had the exact same issue with Windows 7 as well, but was able to fix it by changing the display settings of said monitor to 60Hz refresh, thereby returning the idle temps to normal and removing the stuttering.
My problem now is that I can't seem to change the refresh rate of this screen at all under debian.
xrandr -q returns that the monitor is running at 59.93Hz, but also shows 60Hz as available. xrandr --output DVI-I-1 --rate 60 appears to have absolutely no effect, it doesn't error but it also doesn't change the refresh rate.
Trying to add a new mode with 60hz and modeline obtained from cvt results in the following:
Code: Select allxrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode DVI-I-1 "1920x1080_60.00"X Error of failed request:Â BadMatch (invalid parameter attributes) Major opcode of failed request:Â 140 (RANDR) Minor opcode of failed request:Â 18 (RRAddOutputMode) Serial number of failed request:Â 41 Current serial number in output stream:Â 42
I've also tried to set the refresh rate through the proprietary nvidia driver and manually through xorg.conf, both to no effect;
Here's my current xorg.conf:
Code: Select allSection "ServerLayout"   Identifier   "Layout0"   Screen   0 "Screen0" 0 0   InputDevice  "Keyboard0" "CoreKeyboard"   InputDevice  "Mouse0" "CorePointer"   Option     "Xinerama" "0" EndSection
[Code] ....
The driver settings will show 60Hz but the listing for the monitor in the driver and xrandr will still show 59.93Hz. Saving the settings of nvidia-settings to .nvidia-settings-rc was equally fruitless.
The settings on the monitor itself also show it running at 60Hz, without an option to go down to 59.93Hz so I got no clue where that is even coming from.
What else to try, besides buying a new monitor, which I'm not quite prepared to do yet.
When I installed Debuntu i picked US as my country, and now when i try to change region/language/keyboard-layout to norwegian, Debuntu only suggests english. How can i install the Norwegian language pack to debuntu?
I got some trouble with suspending/hibernation using gnome or mate. None of them can suspend the T450 correcly neither to disk nor to ram. If I run pm-utils from a terminal pm-sleep and pm-hibernate work fine both. So I guess all I need is to change the commands which are run by clicking on the suspend or hibernate button, but how to change what is behind the GUI.
I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:
Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.
Can I create right udev rules for it in /etc/udev/rules.d?
I want to avoid any conflict with /lib/udev/rules.d.
Code: Select all# udevadm monitor --environment --udev monitor will print the received events for: UDEV - the event which udev sends out after rule processing
UDEV [9302.549485] add   /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 DEVTYPE=scsi_target SEQNUM=5210 SUBSYSTEM=scsi
i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress?
How do I change amount of display Hertz in VC? I have a conjecture that it's not the same as in GUI (on my computer). Ubuntu 10.04, Gnome. if not Debian, but at least it's close.
how to change the default language of gnome.when i boot into x-window ,i can select the language ,But ,if boot into console ,via "startx" to run the w-window ,the language is english,i can't select .my native language is Chinese.i set the right locale .I also searched for it .Someone told to add "export LANG=zh_CN.UTF-8"to $HOME/.xinitrc.there's no this file in my home dicretion.I create it .after that,when i run "startx",it's failed to start x-window.the ~/.xsession-error file shows
Initializing gnome-mount extension seahorse nautilus module initialized Unrecognized number formatter: cjk-chinese-simp Unrecognized number formatter: cjk-chinese-simp
[code]...
how can i change the default language ,i have to .because if gnome is in English ,i can't run the Chines input method.
I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':
However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?
I updated to Wheezy from Squeeze and whilst I can make changes to sources.list manually, I can't do some updates in Software Sources.For instance, the 3 check boxes under "Download from internet" are all un-ticked and I can't change them if I wanted to - even though the sources.list is set up with "main contrib non-free"I cannot amend the download server either - it works out what the best server is but wont update if I tell it to.
On my Laptop, I installed Debian under the file "/" and the partition on which I have all my files under "/var". While this isn't really a big issue, when I originally installed Debian, I had the intention of having all of my files on a partition that I would auto-mount later so that when I upgrade my system by reinstalling it, I would only have to change the system partition and let everything else stay the same.. I can live without changing my /var if I can only do so by a re-install...
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
I have a Centos 5.5 and we make remote connections with Xfree from Windows to the Linux Server. We start the Xsession with the option -clipboard, but it's not working. Which settings do I have to change in the server configuration that the clipboard works in the Xsession?
I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374 Adding user `paul374' ... Adding new group `paul374' (5000) ... Adding new user `paul374' (5000) with group `paul374' ... Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd       u:r:init:s0 passwd u:object_r:unlabeled:s0 passwd- root@android-6c40984c21c156ae:/# ls -Z | grep shadow       u:r:init:s0 gshadow u:object_r:unlabeled:s0 gshadow-       u:r:init:s0 shadow u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.
I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.
Where exactly on the file is it that I need to make the change?
Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:
# /etc/profile: This file contains system-wide defaults used by # all Bourne (and related) shells. # Set the values for some environment variables: export MINICOM="-c on" export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man export HOSTNAME="`cat /etc/HOSTNAME`"
[Code]....
I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root