[완료] colinux samba 디렉토리 마운트하기, tuntap 사용시 외부에서 colinux 접근

jellypo의 이미지

옛날엔 smbmount 명령어를 썼는데, 이 명령어를 아무리 찾아봐도 없더군요.

해서 찾아보니

mount -t cifs //윈도컴퓨터이름/공유디렉토리이름 마운트할디렉토리 -o user=xxx,password=xxx

라고 합니다.

colinux fedara 7 에서 저 명령을 실행하니

mount error: cifs filesystem not supported by the system

라네요.

colinux에서 공유폴더를 마운트 못하나요? 커널에서 지원을 못하는거 같습니다만, 확인할 수 있는 명령이나 방법이 있는지도 궁금합니다.

fedora 8 로 업그레이드 하니까 부팅안되는거 봐서 그냥 안되는데로 살아야할지도.;

smbclient 로는 접속 잘 됩니다.

----
tuntap 설정으로 현재 colinux에서 외부 연결은 잘 되고, 제 윈도에서 colinux로도 접근이 잘 되고 있습니다.

아예 외부에서 colinux로 접근하게 하려면 어떡해야 하나요?

'네트워크 연결'에서

로컬 영역 연결(인터넷 공유)
TAP

이렇게 두 이더넷 카드가 잡혀있고
-로컬 영역 연결 - 고급 - 인터넷 연결 공유 - 다른 네트워크 사용자가 공유 인터넷 연결을 제어하거나 중지시킬 수 있도록 허용(체크함) - 설정 - httpd(추가)
IP는 192.168.0.1 (TAP IP)
외부 포트는 8888
내부 포트는 80

이렇게 해봤는데 안 되네요... 공유기쪽에서 colinux를 못 보니 공유기랑은 상관없을거 같고.. 브릿지로 연결해야 할까요?

bushi의 이미지

JellyPo wrote:

커널에서 지원을 못하는거 같습니다만, 확인할 수 있는 명령이나 방법이 있는지도 궁금합니다.

[bushi@rose ~]$ cat /etc/redhat-release 
Fedora release 7 (Moonshine)
[bushi@rose ~]$ 
[bushi@rose ~]$ cat /proc/filesystems | grep cifs
nodev   cifs
[bushi@rose ~]$ 
[bushi@rose ~]$ /sbin/lsmod | grep cifs
cifs                  204469  0 
[bushi@rose ~]$

OTL
jellypo의 이미지

[root@localhost ~]# cat /etc/redhat-release
Fedora release 7 (Moonshine)
[root@localhost ~]# cat /proc/filesystems | grep cifs
[root@localhost ~]# /sbin/lsmod | grep cifs
[root@localhost ~]#

colinux 커널에서 빼놓았나봅니다.

손댔다가 부팅 안될까 두려워 그냥 smbclient로 접근해야겠네요. 답변 감사합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.