Bad Batz Maru, moc děkuji za odpověď. Zároveň bych ale chtěl poprosit o další radu, neb v Linuxu jsem stále začátečník a toto sám jen s pomocí hledání na fóru/v návodech nezvládnu, protože ani nevím, co přesně hledat...
Tohle mi vypsaly ty dva příkazy při zakázané bezdrátové síti. Příliš tomu nerozumím. Ani nevím, jestli jsem udělal dobře, že jsem to sem zkopíroval...
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"" Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:18 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/70 Signal level=-94 dBm Noise level=-94 dBm
Rx invalid nwid:4 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
david@david-laptop:~$ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wifi0 Interface doesn't support scanning.
ath0 Scan completed :
Cell 01 - Address: 00:1F:......
ESSID:"jmenosite"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=29/70 Signal level=-66 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=...
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:15:6D.......
ESSID:""
Mode:Master
Frequency:2.432 GHz (Channel 5)
Quality=7/70 Signal level=-88 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:wme_ie=dd180050f20201018e0.......
Byl byste tak hodný a mohl mě nějak podrobněji navést na to, abych si vytvořil nějaké tlačítko/spouštěč na plochu nebo na panel, kterým bych mohl zapínat a vypínat wi-fi?
Toto mi vypsal ten příkaz, co jste mi radil výše. Ale nezadal jsem tam to jméno rozhraní, nevím, co to má být...
david@david-laptop:/sys$ find . | grep
Použití: grep [PŘEPÍNAČ]... VZOREK [SOUBOR]...
Více informací získáte příkazem `grep --help'.
david@david-laptop:/sys$ grep --help
Použití: grep [PŘEPÍNAČ]... VZOREK [SOUBOR]...
Search for PATTERN in each FILE or standard input.
PATTERN is, by default, a basic regular expression (BRE).
Example: grep -i 'hello world' menu.h main.c
Regexp selection and interpretation:
-E, --extended-regexp PATTERN is an extended regular expression (ERE)
-F, --fixed-strings PATTERN is a set of newline-separated fixed strings
-G, --basic-regexp PATTERN is a basic regular expression (BRE)
-P, --perl-regexp PATTERN is a Perl regular expression
-e, --regexp=PATTERN use PATTERN for matching
-f, --file=FILE obtain PATTERN from FILE
-i, --ignore-case ignore case distinctions
-w, --word-regexp force PATTERN to match only whole words
-x, --line-regexp force PATTERN to match only whole lines
-z, --null-data a data line ends in 0 byte, not newline
Různé:
-s, --no-messages potlačí chybové zprávy
-v, --invert-match vypíše řádky, které VZORKu nevyhovují
-V, --version vypíše označení verze a skončí
--help vypíše tuto nápovědu a skončí
--mmap když to jde, namapuje vstup do paměti
Output control:
-m, --max-count=NUM stop after NUM matches
-b, --byte-offset print the byte offset with output lines
-n, --line-number print line number with output lines
--line-buffered flush output on every line
-H, --with-filename print the filename for each match
-h, --no-filename suppress the prefixing filename on output
--label=LABEL print LABEL as filename for standard input
-o, --only-matching show only the part of a line matching PATTERN
-q, --quiet, --silent suppress all normal output
--binary-files=TYPE assume that binary files are TYPE;
TYPE is `binary', `text', or `without-match'
-a, --text equivalent to --binary-files=text
-I equivalent to --binary-files=without-match
-d, --directories=ACTION how to handle directories;
ACTION is `read', `recurse', or `skip'
-D, --devices=ACTION how to handle devices, FIFOs and sockets;
ACTION is `read' or `skip'
-R, -r, --recursive equivalent to --directories=recurse
--include=FILE_PATTERN search only files that match FILE_PATTERN
--exclude=FILE_PATTERN skip files and directories matching FILE_PATTERN
--exclude-from=FILE skip files matching any file pattern from FILE
--exclude-dir=PATTERN directories that match PATTERN will be skipped.
-L, --files-without-match print only names of FILEs containing no match
-l, --files-with-matches print only names of FILEs containing matches
-c, --count print only a count of matching lines per FILE
-T, --initial-tab make tabs line up (if needed)
-Z, --null print 0 byte after FILE name
Context control:
-B, --before-context=NUM print NUM lines of leading context
-A, --after-context=NUM print NUM lines of trailing context
-C, --context=NUM print NUM lines of output context
-NUM same as --context=NUM
--color[=WHEN],
--colour[=WHEN] use markers to highlight the matching strings;
WHEN is `always', `never', or `auto'
-U, --binary do not strip CR characters at EOL (MSDOS)
-u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)
`egrep' means `grep -E'. `fgrep' means `grep -F'.
Direct invocation as either `egrep' or `fgrep' is deprecated.
With no FILE, or when FILE is -, read standard input. If less than two FILEs
are given, assume -h. Exit status is 0 if any line was selected, 1 otherwise;
if any error occurs and -q was not given, the exit status is 2.
Report bugs to <bug-grep@gnu.org>.
PS: Při hledání ohledně tohoto problému jsem narazil na to, že někdo vypíná webkameru, aby se zvýšila výdrž na baterie. Žere mi energii moje webkamera, když nefunguje? Po čisté instalaci Ubuntu 8.04 neběžela a protože ji na nic nepotřebuji, žádné ovladače jsem neřešil. Tak by mi docela vadilo, kdyby mi žrala baterie.