Asus TP-LİNK USB-13 Tanıtamadım

Başlatan warpalawas, 27 Mart 2013 - 21:07:00

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

if

@warpalawas, eski iletileri okudum da /etc/bashrc.bashrc içeriğini geçmemişsiniz. Onu da alayım.

warpalawas

#26
Sayın @if
/etc/bashrc.bashrc nerededir nasıl gidilir bilmiyorum.
Home dizininde gizli dosyaları göster deyince şöyle bir klasör buldum onun içini kopyalayıp gönderiyorum. Umarım doğrudur
dosyanın adı
.bashrc (~) - gedit

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
    else
color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

if

/etc/bashrc.bashrc, /etc dizini içinde.

cat /etc/bashrc.bashrc

warpalawas

#28
antikor@antikor-System-Product-Name:~$ cat /etc/bashrc.bashrc
cat: /etc/bashrc.bashrc: Böyle bir dosya ya da dizin yok
antikor@antikor-System-Product-Name:~$




Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 13 Nisan 2013, 19:29:32

Buldum sanırım

# System-wide .bashrc file for interactive bash(1) shells.

# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, overwrite the one in /etc/profile)
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
#xterm*|rxvt*)
#    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
#    ;;
#*)
#    ;;
#esac

# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#    . /etc/bash_completion
#fi

# sudo hint
if [ ! -e "$HOME/.sudo_as_admin_successful" ] && [ ! -e "$HOME/.hushlogin" ] ; then
    case " $(groups) " in *\ admin\ *)
    if [ -x /usr/bin/sudo ]; then
cat <<-EOF
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

EOF
    fi
    esac
fi

# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then
function command_not_found_handle {
        # check because c-n-f could've been removed in the meantime
                if [ -x /usr/lib/command-not-found ]; then
   /usr/bin/python /usr/lib/command-not-found -- "$1"
                   return $?
                elif [ -x /usr/share/command-not-found/command-not-found ]; then
   /usr/bin/python /usr/share/command-not-found/command-not-found -- "$1"
                   return $?
else
   printf "%s: command not found\n" "$1" >&2
   return 127
fi
}
fi

if

id
uid=1000(if) gid=1000(if) groups=1000(if),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),107(lpadmin),124(sambashare)


sudo grubuna dahil değilsiniz. Ekleyin kendinizi: usermod -a -G sudo kullanıcı_adı Sonra ifconfig çalışıyor mu bakalım.

warpalawas

#30
antikor@antikor-System-Product-Name:~$ id
uid=1000(antikor) gid=1000(antikor) gruplar=1000(antikor),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
antikor@antikor-System-Product-Name:~$ uid=1000(if) gid=1000(if) groups=1000(if),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),107(lpadmin),124(sambashare)
bash: beklenmeyen dizgecik `(' yakınında sözdizimi hatası
antikor@antikor-System-Product-Name:~$

if

Alıntı yapılan: if - 13 Nisan 2013 - 19:45:12
sudo grubuna dahil değilsiniz. Ekleyin kendinizi: usermod -a -G sudo kullanıcı_adı Sonra ifconfig çalışıyor mu bakalım.

Komut ve çıktıları için kod etiketi kullanın.

warpalawas

#32
antikor@antikor-System-Product-Name:~$ usermod -a -G sudo antikor
'usermod' komutu '/usr/sbin/usermod' içinde uygun
Komut konumlandırılamıyor çünkü '/usr/sbin' YOL çevre değişkenlerinde dahil değil.
Bu büyük olasılıkla kullanıcı hesabınızla ilgili idari ayrıcalıkların eksikliği yüzündendir.
usermod: komut bulunamadı
antikor@antikor-System-Product-Name:~$





Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 13 Nisan 2013 - 19:54:46

Komut ve çıktıları için kod etiketi kullanın.

Bu ne demek? Yani nasıl yapacağım.


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 13 Nisan 2013 - 19:55:33

antikor@antikor-System-Product-Name:~$ ifconfig
'ifconfig' komutu '/sbin/ifconfig' içinde uygun
Komut konumlandırılamıyor çünkü '/sbin' YOL çevre değişkenlerinde dahil değil.
Bu büyük olasılıkla kullanıcı hesabınızla ilgili idari ayrıcalıkların eksikliği yüzündendir.
ifconfig: komut bulunamadı
antikor@antikor-System-Product-Name:~$



Kod etiketi dediğiniz üstteki gibi yazmaya mı diyorsunuz?

if

Evet. Kurtarma kipinde başlatın, root olarak girin
mount / -o remount,rw
komutundan sonra sudo'suz olarak yukarıdaki komutu girin.

warpalawas

@if,
kurtarma kipinde başlattım Ubuntuyu, pek bi değişiklik olmadan girdim. Uçbirimi açtım
verdiğiniz komutu yazdım ama antikor@antikor-System-Product-Name:~$ mount / -o remount,rw
mount: bunu sadece root yapabilir
antikor@antikor-System-Product-Name:~$


Sudosuz nasıl root olacağım?

if

Kurtarma kipinden root olanı seçeceksiniz.

warpalawas

@if,
kurtarma kipinde girdim, root olanı seçtim tamam dedim aşağıda uç birim gibi bir şey çıktı orada yukarıda verdiğiniz kodu girdim olmadı, kendi şifremi girdim olmadı nasıl gireceğim oraya:

root@antikor - System - Product  - Name: ~#

# 'den sonra ne yazmam gerekiyor?

Birde şu yazınızı anlamadım

mount / -o remount,rw
komutundan sonra sudo'suz olarak yukarıdaki komutu girin.
Komutundan sonra derken hangi komuttan sonra bu komutu gireyim mount / -o remount,rw

if

Alıntı yapılan: warpalawas - 13 Nisan 2013 - 20:52:27
# 'den sonra ne yazmam gerekiyor?
mount / -o remount,rw yazmanız gerek. Şifre istemez, root'sunuz zaten.
Alıntı yapılan: warpalawas - 13 Nisan 2013 - 20:52:27
Komutundan sonra derken hangi komuttan sonra bu komutu gireyim mount / -o remount,rw
usermod -a -G sudo antikor komutunu girmelisiniz.

warpalawas

@if
Bilgisayarı yeniden başlatıp ikinci sırada bulunan güvenli kipte açtım.
Bir takım siyah beyaz yazılardan sonra bir iletişim kutusu çıktı orada aşağıda bulunan root seçip tamam dedim ve aşağıda uç birim gibi bir yer çıktı ve oraya sizin gönderdiğiniz kodu girdim.
mount / -o remount,rw

enterleyince aşağıda ki kod göründü
root@antikor - System - Product  - Name: ~# kodun sonuna ikinci verdiğiniz kodu yazdım

yani şu kodu
usermod -a -G sudo antikor
eneterleyince yine aşağıdaki kod göründü cursor yanıp yanıp söndü başkada bir şey olmadı
root@antikor - System - Product  - Name: ~#

başka bir şey olmayınca Ctrl+Del+Alt tuş kombinasyonu ve enterle çıktım oradan

if


warpalawas

#40
antikor@antikor-System-Product-Name:~$ ifconfig
'ifconfig' komutu '/sbin/ifconfig' içinde uygun
Komut konumlandırılamıyor çünkü '/sbin' YOL çevre değişkenlerinde dahil değil.
Bu büyük olasılıkla kullanıcı hesabınızla ilgili idari ayrıcalıkların eksikliği yüzündendir.
ifconfig: komut bulunamadı
antikor@antikor-System-Product-Name:~$


if


warpalawas

antikor@antikor-System-Product-Name:~$ ls -l /etc/environment
-rw-r--r-- 1 root root 79 Ağu 18  2012 /etc/environment
antikor@antikor-System-Product-Name:~$

if

@warpalawas, kod etiketini neden kullanmıyorsunuz?

echo 'export PATH="/sbin:$PATH"' >> ~/.bashrc
sudo apt-get install nautilus-open-terminal
Ardından buradan[1] "LINUX driver for kernel 3.x and 2.6.x and 2.4.x" satırını takip edip "Site" sütünundakilerden herhangi birinden gerekli sürücüyü indirin.
İndirdiğiniz dosyayı çıkartın. Çırkarttığınız dosyanın içine girin. Sağ tıklayıp uçbirimi buraya aç deyin. Sırasıyla sudo ./autorun.sh Kurulum bittikten sonra lsmod | grep r8168 çıktısını geçin.

[1] http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2

warpalawas

@,
Ardından buradan[1] "LINUX driver for kernel 3.x and 2.6.x and 2.4.x" satırını takip edip "Site" sütünundakilerden herhangi birinden gerekli sürücüyü indirin.
İndirdiğiniz dosyayı çıkartın. Çırkarttığınız dosyanın içine girin. Sağ tıklayıp uçbirimi buraya aç deyin.


Ben bunları yapamam ki. Yukarıdaki yazılarımdan okuduysanız daha uç birim bir klasöre nasıl açılır onu bilmiyorum. Sonra yukarıda yazdığınız Linux Driver for kernal 3.x nerede nasıl bulurum, nasıl indirip kurabilirim? Bunları bilmiyorum. Yukarıda geçtiğini kodun çıktısı;

antikor@antikor-System-Product-Name:~$ echo 'export PATH="/sbin:$PATH"' >> ~/.bashrc
antikor@antikor-System-Product-Name:~$ sudo apt-get install nautilus-open-terminal
[sudo] password for antikor:
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı inşa ediliyor.       
Durum bilgisi okunuyor... Bitti       
nautilus-open-terminal zaten en yeni sürümde.
Sıralanan paketler otomatik olarak kurulmuştu artık gerekli değiller:
  linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-38 python-central
  libdb4.8
Kaldırmak için 'apt-get autoremove' komutunu kullanın.
Yükseltilen: 0, Yeni Kurulan: 0, Kaldırılacak: 0 ve Yükseltilmeyecek: 0.
antikor@antikor-System-Product-Name:~$



if


warpalawas

#46
LINUX driver for kernel 3.x and 2.6.x and 2.4.x
8.035.00   2012/12/21   67k   HK1   CN   US1   US2   UK1   US3
FreeBSD 7.x and 8.0
1.81   2012/11/16   56k   HK1   CN   US1   US2   UK1   US3
SCO OpenServer 6 and UnixWare 7.1.x
1.09   2010/3/2   77k   HK1   CN   US1   US2   UK1   US3
SCO Unix 5.0.6 and 5.0.7
1.06   2008/8/1   24k   HK1   CN   US1   US2   UK1   US3
Linux driver for kernel 2.4.x (Support x86 and x64)
1.07   2007/8/28   33k   HK1   CN   US1   US2   UK1   US3


Hangisini indireceğim?


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 13 Nisan 2013 - 23:31:10

antikor@antikor-System-Product-Name:~$ lsmod | grep r8168
r8168                 235213  0
antikor@antikor-System-Product-Name:~$



r8168 bunu kırmızı ile yazıyor.

if

Sürücüyü indirip derlemeyi yaptınız mı?

warpalawas

@if,
derlemenin ne olduğunu bilmiyorum.
Dosyayı indirdim home dizinine attım, rar'dan çıkardım. Çıkan yerde uç birimi açtım sizin verdiğiniz kodları girdim. Çıktısını yukarıda gönderim.

if

@warpalas, sürücü yüklenmiş. Bağlanabilmeniz gerek artık.