Покажи теми - empty
Виж публикациите на потр. | * Виж темите на потр. | Виж прикачените файлове на потр
Страници: [1] 2 3 ... 10
1  Предложения и въпроси относно Linux-BG / Предложения за подобрения на сайта / Снимките в галерията -: Feb 23, 2010, 00:53
Аз напоследък в сайта само разглеждам галерията :) Има хубави десктопи :) Технологийте напреднаха и скрийншотите стават със все по - голяма резолюция, а като ги обработи сайта някои дори не се четат :( Предлагам да се вдигне резолюцията на снимките в галерията или да има линк и към оригинала.
2  Linux секция за начинаещи / Настройка на хардуер / Volume control -: Aug 21, 2008, 22:13
Здравейте,

Много тъп въпрос но не знам как да му намеря отговора '<img'> Проблема е, че звука си го усилвам на максимум, но ако си пусна същото нещо под windows ще звъчи в пъти по силно. Пробвах да включа и софтуерен звуков контрол, но отново не мога да постигна желаните резултати. Ако е важно съм с Linux Mint(KDE) в момента, но съм наблюдавал през годините работа с линукс, че това ми е проблем със всяка дистрибуция която съм ползвал. Има ли някакво решение на проблема? Забравих да кажа, че ползвам Alsa като звукова система.



3  Linux секция за начинаещи / Настройка на програми / (РЕШЕН) Проблем със ssh -: Jun 20, 2008, 17:34
Проблема е, че като съм не активен на сървъра си той ме изхвърля от SSH. Не знам това на какво се дължи. Ако си работя няма проблеми, но ако не работя на сървъра той ми затваря сесията.
Сървъра е:
Linux tequila.osguides.net 2.6.25-gentoo-r2 #6 SMP Thu May 15 09:45:40 UTC 2008 i686 Intel® Celeron® CPU 2.40GHz GenuineIntel GNU/Linux

SSH версия: OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007

sshd_config
Примерен код
#       $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

Port 222
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile     .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

# no default banner path
#Banner /some/path

# here are the new patched ldap related tokens
# entries in your LDAP must have posixAccount & ldapPublicKey objectclass
#UseLPK yes
#LpkLdapConf /etc/ldap.conf
#LpkServers  ldap://10.1.7.1 ldap://10.1.7.2
#LpkUserDN   ou=users,dc=phear,dc=org
#LpkGroupDN  ou=groups,dc=phear,dc=org
#LpkBindDN cn=Manager,dc=phear,dc=org
#LpkBindPw secret
#LpkServerGroup mail
#LpkForceTLS no
#LpkSearchTimelimit 3
#LpkBindTimelimit 3

# override default of no subsystems
Subsystem       sftp    /usr/lib/misc/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#       X11Forwarding no
#       AllowTcpForwarding no
#       ForceCommand cvs server


Благодаря.



4  Linux секция за начинаещи / Настройка на програми / Голям load от samba -: Jan 16, 2008, 02:15
Хора не знам защо се получава така но самбата ми качва load average на сървъра до 4 при трансфер което не е нормално. Сървъра е P4 2.4 GHz, 1.2GB RAM и това не е нормално. Файловата система е xfs ако това има значение. Дистрибуцията е Gentoo и се упдейтва постоянно до последен stable release. Ето го и smb.conf:
Примерен код
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
#  http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name


# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
;  netbios name = <name_of_this_server>

# server string is the equivalent of the NT Description field
server string = TheMachine

# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = cups

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups

# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 <= log level <= 10)
; log level = 3

# 4. Security and Domain Membership Options:
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
;   hosts allow = 192.168.1. 192.168.2. 127.

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest
# Allow users to map to guest:
map to guest = Bad User

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server or security = domain
# When using security = domain, you should use password server = *
;   password server = <NT-Server-Name>
;   password server = *

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
encrypt passwords = yes

# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
;  unix password sync = Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
;  pam password change = yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n;*passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.conf.%m

# Options for using winbind. Winbind allows you to do all account and
# authentication from a Windows or samba domain controller, creating
# accounts on the fly, and maintaining a mapping of Windows RIDs to unix uid's
# and gid's. idmap uid and idmap gid are the only required parameters.
#
# winbind separator is the character a user must use between their domain
# name and username, defaults to "\"
;  winbind separator = +
#
# winbind use default domain allows you to have winbind return usernames
# in the form user instead of DOMAIN+user for the domain listed in the
# workgroup parameter.
;  winbind use default domain = yes
#
# template homedir determines the home directory for winbind users, with
# %D expanding to their domain name and %U expanding to their username:
;  template homedir = /home/%D/%U

# When using winbind, you may want to have samba create home directories
# on the fly for authenticated users. Ensure that /etc/pam.d/samba is
# using 'service=system-auth-winbind' in pam_stack modules, and then
# enable obedience of pam restrictions below:
;  obey pam restrictions = yes

#
# template shell determines the shell users authenticated by winbind get
;  template shell = /bin/bash

# 5. Browser Control and Networking Options:
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#       a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44

# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# 6. Domain Control Options:
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations or Primary Domain Controller for WinNT and Win2k
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roaming profiles for WinNT and Win2k
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# Where to store roaming profiles for Win9x. Be careful with this as it also
# impacts where Win2k finds it's /HOME share
; logon home = \\%L\%U\.profile


# The add user script is used by a domain member to add local user accounts
# that have been authenticated by the domain controller, or when adding
# users via the Windows NT Tools (ie User Manager for Domains).

# Scripts for file (passwd, smbpasswd) backend:
; add user script = /usr/sbin/useradd -s /bin/false '%u'
; delete user script = /usr/sbin/userdel '%s'
; add user to group script = /usr/bin/gpasswd -a '%u' '%g'
; delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
; set primary group script = /usr/sbin/usermod -g '%g' '%u'
; add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}'
; delete group script = /usr/sbin/groupdel '%g'

# Scripts for LDAP backend (assumes nss_ldap is in use on the domain controller.
# Needs IDEALX scripts, and configuration in smbldap_conf.pm.
# This assumes you've installed the IDEALX scripts into /usr/share/samba/scripts...
; add user script = /usr/share/samba/scripts/smbldap-useradd.pl '%u'
; delete user script = /usr/share/samba/scripts/smbldap-userdel.pl '%u'
; add user to group script = /usr/share/samba/scripts/smbldap-groupmod.pl -m '%u' '%g'
; delete user from group script = /usr/share/samba/scripts/smbldap-groupmod.pl -x '%u' '%g'
; set primary group script = /usr/share/samba/scripts/smbldap-usermod.pl -g '%g' '%u'
; add group script = /usr/share/samba/scripts/smbldap-groupadd.pl '%g' && /usr/share/samba/scripts/smbldap-groupshow.pl %g|awk '/^gidNumber:/ {print $2}'
; delete group script = /usr/share/samba/scripts/smbldap-userdel.pl '%g'


# The add machine script is use by a samba server configured as a domain
# controller to add local machine accounts when adding machines to the domain.
# The script must work from the command line when replacing the macros,
# or the operation will fail. Check that groups exist if forcing a group.
# Script for domain controller for adding machines:
; add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false '%u'
# Script for domain controller with LDAP backend for adding machines (You need
# the IDEALX scripts, and to configure the smbldap_conf.pm first):
; add machine script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d /dev/null -g machines -c 'Machine Account' -s /bin/false '%u'

# Domain groups:
# Domain groups are now configured by using the 'net groupmap' tool

# Samba Password Database configuration:
# Samba now has runtime-configurable password database backends.
# smbpasswd is for backwards compatibility only Default (not recommended),
# new installations should use tdbsam or ldap.
; passdb backend = smbpasswd
# TDB backend
; passdb backend = tdbsam
# LDAP with fallback to smbpasswd guest
# Enable SSL by using an ldaps url, or enable tls with 'ldap ssl' below.
; passdb backend = ldapsam:ldaps://ldap.mydomain.com
# Use the samba2 LDAP schema:
; passdb backend = ldapsam_compat:ldaps://ldap.mydomain.com

# idmap uid account range:
# This is a range of unix user-id's that samba will map non-unix RIDs to,
# such as when using Winbind
; idmap uid = 10000-20000
; idmap gid = 10000-20000

# LDAP configuration for Domain Controlling:
# The account (dn) that samba uses to access the LDAP server
# This account needs to have write access to the LDAP tree
# You will need to give samba the password for this dn, by
# running 'smbpasswd -w mypassword'
; ldap admin dn = cn=root,dc=mydomain,dc=com
; ldap ssl = start_tls
# start_tls should run on 389, but samba defaults incorrectly to 636
; ldap port = 389
; ldap suffix = dc=mydomain,dc=com
; ldap server = ldap.mydomain.com
# Seperate suffixes are available for machines, users, groups, and idmap, if
# ldap suffix appears first, it is appended to the specific suffix.
# Example for a unix-ish directory layout:
; ldap machine suffix = ou=Hosts
; ldap user suffix = ou=People
; ldap group suffix = ou=Group
; ldap idmap suffix = ou=Idmap
# Example for AD-ish layout:
; ldap machine suffix = cn=Computers
; ldap user suffix = cn=Users
; ldap group suffix = cn=Groups
; ldap idmap suffix = cn=Idmap


# 7. Name Resolution Options:
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins host lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one  WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
guest account = scary
restrict anonymous = no
guest ok = yes
domain master = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto

# 8. File Naming Options:
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Czech), 861 ('<img'>), 932 (Japanese),
# 936 (Simplified Chin.), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# More detail about code page is in
# "http://www.microsoft.com/globaldev/reference/oslocversion.mspx"
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
;   dos charset = 850
;   unix charset = ISO8859-1


#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
read only = no
# You can enable VFS recycle bin on a per share basis:
# Uncomment the next 2 lines (make sure you create a
# .recycle folder in the base of the share and ensure
# all users will have write access to it. See
# examples/VFS/recycle/REAME in the samba docs for details
;   vfs object = /usr/lib/samba/vfs/recycle.so

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /var/lib/samba/netlogon
;   guest ok = yes
;   writable = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /var/lib/samba/profiles
;    browseable = no
;    guest ok = yes
# This script can be enabled to create profile directories on the fly
# You may want to turn off guest acces if you enable this, as it
# hasn't been thoroughly tested.
;root preexec = PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE ];;                then mkdir -pm700 $PROFILE; chown %u:%g $PROFILE;fi

# NOTE: If you have a CUPS print system there is no need to
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# drivers on your Windows clients. On the Samba server no filtering is
# done. If you wish that the server provides the driver and the clients
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to swap the 'print command' line below with the commented one.
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# set to yes to allow user 'guest account' to print.
guest ok = no
printable = yes

# This share is used for Windows NT-style point-and-print support.
# To be able to install drivers, you need to be either root, or listed
# in the printer admin parameter above. Note that you also need write access
# to the directory and share definition to be able to upload the drivers.
# For more information on this, please see the Printing Support Section of
# /usr/share/doc/samba-<version>/Samba-HOWTO-Collection.pdf
[print$]
path = /var/lib/samba/printers
write list = @adm root

[Aliens]
path = /mnt/storage/Aliens/
read only = no

[backups]
path = /mnt/storage/backups/
read only = no

[Clips]
path = /mnt/storage/Clips/
read only = no

[Docs]
path = /mnt/storage/Docs/
read only = no

[Downloads]
path = /mnt/storage/Downloads/
read only = no

[Fun]
path = /mnt/storage/Fun/
read only = no

[Howtos]
path = /mnt/storage/Howtos/
read only = no

[Install]
path = /mnt/storage/Install/
read only = no

[Movies]
path = /mnt/storage/Movies/
read only = no

[mp3z]
path = /mnt/storage/mp3z/
read only = no

[Pics]
path = /mnt/storage/Pics/
read only = no


Моля Ви помагайте ако имате някакви идеи.
5  Хумор, сатира и забава / Хумор / Бате Бил към сина си :) -: Dec 06, 2007, 01:03
Синът на Бил Гейтс пита баща си:
- Тате, искам да правя секс вече, какво трябва да направя?
- Много е просто, синко. Вземи само най-хубавата ми кола от гаража, облечи си най-хубавия костюм и заведи мадамата в най-луксозния апартамент. Купи и най-големия букет цветя. А после наеми президентския апартамент в най-скъпия хотел и ще бъде твоя.
- Но, тате! Къде са романтичните разходки по време на залеза, четенето на стихове на лунна светлина, флиртуването
- Момчето ми, всичките тези неща са ги измислили Linux феновете за да имат безплатен секс.
6  Linux секция за начинаещи / Настройка на хардуер / Не мога да подкарам dma на харда -: Sep 28, 2007, 03:51
Тея дни си купих Toshiba Satellite A200-1hv. Веднага се впуснах в инсталиране на Gentoo на него, но имам проблеми със подкарването на DMA-то на хард диска. Нека започна от lspci:
Примерен код
TheMachine ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 110M / GeForce Go 7300 (rev a1)
04:00.0 Network controller: Intel Corporation Unknown device 4229 (rev 61)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8136 (rev 01)
06:04.0 CardBus bridge: Texas Instruments Unknown device 8039
06:04.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
06:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
06:04.3 Generic system peripheral [0805]: Texas Instruments Unknown device 803c
TheMachine ~ #


Ето и какво съм пуснал във ядрото:
Примерен код
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
CONFIG_BLK_DEV_IDE_SATA=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
CONFIG_BLK_DEV_IDEACPI=y
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_IDEPCI_PCIBUS_ORDER=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA_FORCED=y
CONFIG_IDEDMA_ONLYDISK=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_IT8213 is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set


Направих малко проучване в google и видях, че точно така трябва да е сетнато.

ето и uname -a:
Примерен код
Linux TheMachine 2.6.22-gentoo-r5 #4 SMP Thu Sep 27 12:20:16 EEST 2007 i686 Intel(R) Core(TM)2 CPU         T5300  @ 1.73GHz GenuineIntel GNU/Linux


 hdparm -i /dev/hda
Примерен код
TheMachine ~ # hdparm -i /dev/hda

/dev/hda:

 Model=TOSHIBA MK2035GSS, FwRev=DK020M, SerialNo=77MFFCCSS
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-3,4,5,6,7

 * signifies the current active mode

TheMachine ~ #


hdparm -d1 /dev/hda:
Примерен код
TheMachine ~ # hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma     =  0 (off)
TheMachine ~ #


Ето каква е скороста в момента:
Примерен код
TheMachine ~ # hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1688 MB in  2.00 seconds = 844.60 MB/sec
 Timing buffered disk reads:    6 MB in  3.18 seconds =   1.89 MB/sec
TheMachine ~ #

което е адски бавно.

Рових много из нета и нищо полезно не намерих и почвам да се отчайвам. Някой има ли идея как да подкарам DMA-то?

Ако сменя драйвъра със новия SATA driver вобще не проработва и ми дава грешка още при boot че не може да монтира root fs via NFS.



7  BSD секция / Системни настройки / Повдигане на ttl -: Sep 15, 2007, 17:41
Мисля да си правя нов сървър за вкъщи, но този път на FreeBSD, че има нужда и това да се изучи. Той ше е за web, mail, DNS, FTP и други полезни неща, но също така ще изпълнява функцията на рутер което най - много ме притеснява и правя нещо като проучване преди да го почна да знам дали ще успея, че все пак интернет-а ще ми зависи от него. Разтърсих се из нета за повдигане на TTL-а и разбрах, че ако компилирам кернел-а с options IPSTEALTH и след това пусна това нещо: sysctl net.inet.ip.stealth=1 #if it's 0 of course трябва да сработи. Ама това "if it's 0 of course" малко ме претиснява и ми е интересно как точно трябва да стане. TTL-a който идва при мен е 1. Може ли в няколко кратки стъпки да ми опишете как точно трябва да задам тази опция в кърнъл-а на FreeBSD, че не съм компилирал до сега ма ще прочета. Нещо кратко ми обяснете за пример както е в линукс:
make oldconfig # Правиме си .conf  на текущото ядро
make menuconfig # Опционнално за графично редактиране
make                          #\
make modules_install     # Компилация и инсталация.
make install                 #/
И след това на кратко как се зарежда това във sysctl и какво точно ще направи. Някакво такова обяснение ми трябва.

Благодаря предварително.
8  Нетехнически теми / Идеи и мнения / Toshiba satellite a200-1hv -: Sep 12, 2007, 10:33
Тъй като имам Р.Д. та реших да си взема е тая машинка: http://www.stealtech.org/?_cid=2&spid=5063
Погледнах в http://tuxmobil.org/ и не видях нищо за него. Дали ще сработи добре с Linux и по скоро Slackware? Не ща сега да възниква спор за коя марка лаптопи била по - добра и т.н. затова ще кажа, че мен просто TOSHIBA винаги са си ме кефели и TOSHIBA искам да си взема.



9  Linux секция за начинаещи / Настройка на програми / Bash скрипт -: Aug 23, 2007, 03:06
Трябва ми просто скриптче което да се сложи в crontab примерно и да следи за failed connection attempts в /var/log/messages и ако има повече от 10 опита да адва правило в iptables което да блоква IP-то пробващо да пробие в машината. Правилото да речем, че се записва в /etc/sysconfig/iptables и после се рестартират iptables посредством service iptables restart.
Става въпрос за Fedora Core.

Благодаря предварително.
10  Linux секция за начинаещи / Настройка на хардуер / Миграция от sda към hdc -: Jun 12, 2007, 20:27
Тъй като така и не успях да подкарам DMA-то на харда ми с новия driver за SATA дискове и реших да мигрирам към стария. Лошото обаче е, че нещо не се получава. Компилирам кърнела без поддръжка на новия driver(знам, че правят конфликт със стария) и пускам стария, след това редактирам /etc/fstab и /boot/grub/grub.conf и на теория трябва след рестарта да работи ама на практика си е винаги Kernel Panic. Поразрових се, но за сега нищо не намирам. Интересното е че с тази процедура под Slackware си работи пушка. Може ли да кажете с 2 думи как да го направя(step by step като за идиот '<img'> или да дадете някакъв линк дето е описано.

Благодаря!
11  Linux секция за начинаещи / Настройка на хардуер / Media tech webcam -: Dec 25, 2006, 19:22
Имам една web камерка Media Tech и се пробвам да я покарам ма не става нещо. Пробвах с qc-usb драйвъра обаче не става нищо.
Ето какво показва lsusb:
Цитат
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 005: ID 0c45:6028 Microdia
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

и lsmod:
Цитат
Module                  Size  Used by
quickcam               63268  0
videodev               18944  1 quickcam
v4l2_common            15360  1 videodev
fuse                   33428  4
nvidia               4703828  32


Дистрибуцията е Gentoo, ядрото 2.6.18-gentoo-r4.

Ето и dmesg:
Цитат
usb 2-2: new full speed USB device using uhci_hcd and address 5
usb 2-2: configuration #1 chosen from 1 choice


Нямам си идея как да я подкарам вече. В lsusb излиза Bus 002 Device 005: ID 0c45:6028 Microdia което всъщност май не е камера. Те правят някакви други неща и не знам как да му кажа на gentoo-то, че това е камера и да използва примерно някакви generic драйвъри.
12  Linux секция за начинаещи / Настройка на програми / Gentoo portage проблем. -: Dec 21, 2006, 13:27
Направих си нова инсталация на Gentoo и при опит за emerge -uNDav world когато стигна до tetex си мина ./configure-то и на make се издъни. Ето и какво получавам в конзолата:

Примерен код
cp paths.tmp paths.h
rm -f paths.tmp
date >stamp-paths
'libtool' --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -march=pentium4 -O2 -pipe -fomit-frame-pointer  -DMAKE_KPSE_DLL -c tex-file.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [tex-file.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/tetex-3.0_p1-r3/work/tetex-src-3.0/texk/kpathsea'
make[1]: *** [do-kpathsea] Error 2
make[1]: Leaving directory `/var/tmp/portage/tetex-3.0_p1-r3/work/tetex-src-3.0/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-3.0_p1-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tetex-3.0_p1-r3.ebuild, line 68:   Called tetex-3_src_compile
  tetex-3.eclass, line 148:   Called tetex_src_compile
  tetex.eclass, line 177:   Called die

!!! make teTeX failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Ако съм забравил да кажа нещо се извинявам, но тепърва започнах да се занимавам с Gentoo и не съм много наясно. Ако ви интересува още нещо около проблема питайте.
13  Хумор, сатира и забава / Хумор / Asta la vista -: Dec 18, 2006, 14:13
Малко стара, но иначе много силна пародия на Terminator '<img'> Умрях от смях '<img'>

http://vid.data.bg/dryx07a4#vid



14  Предложения и въпроси относно Linux-BG / Предложения за подобрения на този форум / Алтернативен текст на бутоните -: Dec 10, 2006, 14:41
От време на време ми се налага да ползвам само links и като съм във форума е малко трудно, защото ми излизат само [IMG] на препратките за постване цитиране и т.н.
Според мен ще е много хубаво ако се добави алтернативен текст към картинките за да се ориентират хората които ползват links, lynx и други конзолни браузъри.
15  Хумор, сатира и забава / Хумор / Дъртия във Велвет -: Oct 18, 2006, 03:34
Това не е мой опит а на kam_tod от http://bmwpower-bg.net форумите.
Докато го прочетох направо припаднах от смях и реших да го постна и тук и пингвините да се посмеят:

Това се случи преди доста време, но поуките остават за цял живот, или както е казал водолазът "Боже, колко мъка има по тоя свят, Боже!" като видял бялата акула...

Сбирка по случй рожден ден. Събираме се 5-6 човека отговорни другари да ходим на мястото на сбирката в Студентски град. Естествено, всеки предвидливо е оставил колата, ключовете и документите вкъщи, защото всеки има много ясна представа на кого отиваме на РД и какво ще се случи там. Но не било писано да е така...

След обичайното технологично време, свързано с изпиването на първите чашки и задължителните куртоазни въпроси към по-малко познатите участници в сбоджата (Пернишки лаф), настъпва същинската или т.нар. "веселата" част - всички вече са мртви, кой повече кой по-малко, всеки говори, без да слуша събеседника си, но явно това не пречи на никой от участниците. След преминаването вече във трета фаза, където някои вече "много са се напили", а на други "им няма нищо!", нашата група от отговорни другари решава, че й "няма нищо!" и й "става тъпо", след което отнякъде се появява осенение свише, материализирано по следния начин "Айде да ходим у 'Велвет'!". Предложението е посрещнато сериозно, прието е без възражения и с единодушие, след което е изпълнено съвсем дискретно и експедитивно, с помощта на две таксита.

Действеито вече се пренася 'у Велвет". Всеки си поръчва някакви напитки и се настанява удобно, да плакне очите. В групата, обаче, присъства един застаряващ индивид, '68 набор, със силно екстравагантни разбирания за света и вечно младежки дух, по прякор "Дъртия", ясно е защо.

Никой не се учудва на декларацията на Дъртия, че няма пари и на "взискването" му да бъде почерпен със същите хлдни напитки, които цибрят останалите. Това е редовна ситуация. Всички знаят, че ще последват поединични изнудвания от негова страна, придружени с мазни физиономии, ретроспективни анализи на приятелските му взаимоотношения със "жертвата", изпълнени с паузи от гръмогласен, естествено непринуден, просташки смях.

Поради изброените причини, а също и от факта, че "нищо ни няма!", всички единодушно решаваме, че Дъртия трябва да си заслужи напитките по някакъв начин, и то не само тези в момента, а и многобройните други, с които ни е "щавил" през годините. Всеки се сеща и за многобройните невъзвръщаеми кредити, отпускани на Дъртия, но отдавна заведени по сметка "Несъбираеми вземания". След кратко съвещание уведомяваме Дъртия, че може да пие на корем, каквито напитки си поиска при условие, че излезне на дансинга при каките. Отправеното предложение е прието от реципиента без никакво колебание, но се отправя насрещна оферта за авансово плащане - 100 гр. Финландия или както той се изрази "Да подгрее двигатело!".

Тук идва тази част, за която се отнася встъпителния цитат на тази история, а именно:

След като "подгря двигатело", Дъртия, който е висок към 1.65 см. и притежава физически данни на средностатистичен австралийски бушмен, бавно и с достойнство се отправи към дансинга и с леки и финтиращи подскоци се възкачи върху него. Застина за миг, обръщайки се към нашата маса, за да види реакциите, след което се разкълчоти с движения, характерни за дискотеките от 80-те години, ама какво да го правиш, като се има предвид възрастта му...

В следващия момент, какито, които до момента отегчено се вият и сучат около пилоните, наобикалят дъртия като хрътки, усетили миризмата на заека. И както е казал поетът, "Една го, друга му, трета му го...", абе с две думи взеха да го събличат, което посъживи и зареди полузаспалата публика с радостен трепет за разнообразие и отвсякъде започнаха да се чуват подсвирквания, радостни въсгласи и дори аплодисменти.

Една от по-опитните каки реши да прояви творчество и с някакъв ефирен шал обви врата на Дъртия, който вече беше останал без риза, обувки и чорапи, само по едни панталонки, в стил даже не три-четвърти, а седем-осми. Никой не разбра точно как Дъртия възприе този еротичен акт със шала, но това което направи беше да запълзи на четири крака след каката, изплезил език и душейки останалите разголени чародейки на дансинга където свари и до където може да си надигне носа, а те с весело кикотене подскачаха, един вид изненадани. Но Дъртия не спря дотам. Следващото нещо, което взриви публиката беше, че както си вървеше на четири крака, Дъртия дотолкова се беше вживял в посвоему еротичния си "танц", та като стигнеше до някой от пилоните се дръпваше към него и повдигаше единия си крак, досъщ като четирикраките ни любимци, като точно това негово действие се отличаваше с бляскав професионализъм. Народа ревеше от възторг, а отнякъде се появи глас на DJ, който съобщи, че "това можете да го видите само във Велвет", което си беше чиста реклама на гърба на Дъртия.

В следващия момент една от каките се наведе (според мен целенасочено не приклекна, а се наведе, но това е друга тема), за да погали 'кученцето' по главичката, но беше изненадана, защото 'кученцето' се изправи на задни крака, облиза я най-безцеремонно по бюста и застана така със светнал поглед и изплезен език. В този момент като по команда налетяха и другите чаровници, дърпайки панталоните на Дъртия надолу и показвайки явното си несъгласие от неравностойното положение, в което се намираха те - както ги е майка родила, а Дъртия с панталон! Ситуацията беше безнадеждна за Дъртия, понеже една му разкопча, ципа, друга му откопча копчето, а трета му свали панталона, но това не го обезпокои нито за момент, а напротив - всички изпитвахме смътното подозрение, че му е приятно.

В същия момент, аз чинно си надигах чашата с водката и тъкмо се канех да отпия една глъдка от тази амброзия, когато под панталона на Дъртия лъснаха едни разхлабени, бая пожълтели слипове, с твърде широки отвори както за краката му, така и за цепката отпред. Застинах с чашата, допряна на устните ми, скован от ужас и погнуса. Но това не беше нищо в сравнение със шока, който изпитах, след като Дъртия обади "мега данс" и с едно преластяващо девойките движения разлюля задните си части, с цел тотално да им вземе акъла. Обръщайки гърба си към нашата маса, той предостави на нашето внимание три дупки отзад на слиповете, разположени на произволно разстояние една от друга, все едно че бяха направени от ловна пушка, заредена със съчми за дребен пернат дивеч.

Колкото и да исках, не можах да се въздържа и прихнах в чашата, като естествено от създадената турбуленция в нея, си измих очите с водка Финландия, но такава май беше и ситуацията с повечето от присъстващите. Ревът в заведението беше невъобразим и заглушаваше музиката, която иначе беше доста силна. Каките се превиваха от смах без свян и се държаха за стомасите, абсолютно непрофесионално поведение! Всичко това обаче не попречи на Дъртия, испаднал в екстаз, да се почепи още поне пет минути, да показва атрибути по доста артистичен начин и да извлече максималното от ситуацията. Виковете 'Бис!" не спираха, тълпата беше пощуряла, имах чувството че сме в някой от кръговете на Ада.

И в следващия момент си помислих с тъга: "Що не го почерпихме човека, ми ни требва условия да му поставяме! Ех."

Боже, колко мъка има по тоя свят, боже!

Оригинала: http://bmwpower-bg.net/forums/viewtopic.php?t=40318
Страници: [1] 2 3 ... 10